Created
March 21, 2014 18:44
-
-
Save tpoechtrager/9693081 to your computer and use it in GitHub Desktop.
10.6 SDK fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/oclang/oclang b/oclang/oclang | |
index 9cd0e8b..f07b202 100755 | |
--- a/oclang/oclang | |
+++ b/oclang/oclang | |
@@ -115,6 +115,8 @@ if [ $USE_LIBCXX -ne 0 ]; then | |
fi | |
else | |
CXXINC="-cxx-isystem $OSXCROSS_SDK/usr/lib/gcc/i686-apple-$OSXCROSS_TARGET/4.2.1/include" | |
+ CXXINC="$CXXINC -cxx-isystem $OSXCROSS_SDK/usr/include/c++/4.2.1 " | |
+ CXXINC="$CXXINC -cxx-isystem $OSXCROSS_SDK/usr/include/c++/4.2.1/$ARCH2-apple-$OSXCROSS_TARGET " | |
CXXINC="$CXXINC -cxx-isystem $OSXCROSS_SDK/usr/include/c++/4.0.0 " | |
CXXINC="$CXXINC -cxx-isystem $OSXCROSS_SDK/usr/include/c++/4.0.0/$ARCH2-apple-darwin9 " | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment