openimageio: fix armv[56]* build

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-06-22 21:26:38 +02:00
parent a8948a4cf0
commit 6d009f933a
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

View file

@ -27,6 +27,8 @@ esac
pre_build() { pre_build() {
local f local f
# Replace -isystem with -I to avoid "#include_next <stdlib.h>" file not found
sed -i src/cmake/compiler.cmake -e "s;-isystem;-I;g"
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
armv[56]*|mips*) armv[56]*|mips*)