Skip to content

Commit

Permalink
ios: fix missing CFLAGS export. This was the issue, but then, it seem…
Browse files Browse the repository at this point in the history
… that some system accept ARM_CFLAGS as a standard name when compiling to ARM ???. closes kivy#22
  • Loading branch information
tito committed Oct 29, 2012
1 parent e477068 commit b35e86e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/build-ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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"

Expand Down

0 comments on commit b35e86e

Please sign in to comment.