summaryrefslogtreecommitdiffstats
path: root/make/lib/gluegen-cpptasks-android-x86.xml
diff options
context:
space:
mode:
Diffstat (limited to 'make/lib/gluegen-cpptasks-android-x86.xml')
-rw-r--r--make/lib/gluegen-cpptasks-android-x86.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/make/lib/gluegen-cpptasks-android-x86.xml b/make/lib/gluegen-cpptasks-android-x86.xml
index ef33daa..baedfc1 100644
--- a/make/lib/gluegen-cpptasks-android-x86.xml
+++ b/make/lib/gluegen-cpptasks-android-x86.xml
@@ -33,6 +33,15 @@
<echo message="Custom forced compiler Android NDK, linker.cfg.android" />
<compiler id="compiler.cfg.android" name="clang">
<compilerarg value="--sysroot=${env.ANDROID_TOOLCHAIN_SYSROOT1}" /> <!-- include files, but libs not in std FS layout -->
+ <compilerarg value="-stdlib=libstdc++"/>
+ <compilerarg value="-isysroot"/>
+ <compilerarg value="${env.ANDROID_TOOLCHAIN_SYSROOT1}" />
+ <compilerarg value="-isystem"/>
+ <compilerarg value="${env.ANDROID_TOOLCHAIN_SYSROOT1_INC}" />
+ <compilerarg value="-isystem"/>
+ <compilerarg value="${env.ANDROID_TOOLCHAIN_SYSROOT1_INC_ARCH}" />
+ <compilerarg value="-isystem"/>
+ <compilerarg value="${env.ANDROID_TOOLCHAIN_SYSROOT1_INC}/c++/v1" />
<compilerarg value="-v" />