ios: fix missing CFLAGS export. This was the issue, but then, it seem that some system accept ARM_CFLAGS as a standard name when compiling to ARM ???. closes #22
This commit is contained in:
parent
e477068654
commit
b35e86e470
1 changed files with 3 additions and 0 deletions
|
@ -3,9 +3,11 @@
|
|||
. $(dirname $0)/environment.sh
|
||||
|
||||
OLD_CC="$CC"
|
||||
OLD_CFLAGS="$CFLAGS"
|
||||
OLD_LDFLAGS="$LDFLAGS"
|
||||
OLD_LDSHARED="$LDSHARED"
|
||||
export CC="$ARM_CC -I$BUILDROOT/include"
|
||||
export CFLAGS="$ARM_CFLAGS"
|
||||
export LDFLAGS="$ARM_LDFLAGS"
|
||||
export LDSHARED="$KIVYIOSROOT/tools/liblink"
|
||||
|
||||
|
@ -20,6 +22,7 @@ try cp iosbuild/usr/local/lib/python2.7/site-packages/ios.so "$BUILDROOT/python/
|
|||
popd
|
||||
|
||||
export CC="$OLD_CC"
|
||||
export CFLAGS="$OLD_CFLAGS"
|
||||
export LDFLAGS="$OLD_LDFLAGS"
|
||||
export LDSHARED="$OLD_LDSHARED"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue