Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Commit

Permalink
fix(cross-ios): C{,XX}FLAGS: add missing $isysroot
Browse files Browse the repository at this point in the history
I removed these in the previous refactor under the assumption that they
were not required, because $isysroot is also passed to CPPFLAGS.

Turns out I was wrong :^).
  • Loading branch information
bassosimone committed Jun 3, 2019
1 parent 54f81ca commit 30d54af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cross-ios
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ isysroot="-isysroot `xcrun -sdk $platform --show-sdk-path`"
export CC="`xcrun -find -sdk $platform cc`"
export CXX="`xcrun -find -sdk $platform g++`"
export CPPFLAGS="-arch $architecture $isysroot $extra_cppflags $CPPFLAGS"
export CFLAGS="-O2 -arch $architecture $minversion_flag $CFLAGS"
export CXXFLAGS="-O2 -arch $architecture $minversion $CXXFLAGS"
export CFLAGS="-O2 -arch $architecture $isysroot $minversion_flag $CFLAGS"
export CXXFLAGS="-O2 -arch $architecture $isysroot $minversion $CXXFLAGS"
export LDFLAGS="-arch $architecture $minversion $isysroot $LDFLAGS"

$@ $configureflags

0 comments on commit 30d54af

Please sign in to comment.