diff options
author | Sven Gothel <[email protected]> | 2014-07-30 17:27:59 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-07-30 17:27:59 +0200 |
commit | 48b97646ad57cda4087c46437ef5f1e1ae6f1b0d (patch) | |
tree | b36065e95f413cf8966a2c940d586c77ade8a7ea /make | |
parent | f5c48efcf546ba4e08e197ccced6df83b57e1755 (diff) |
gluegen-cpptasks's compiler.cfg.linux.*: always "-include make/stub_includes/platform/glibc-compat-symbols.h" ensuring using low versioned GLIBC symbols
Diffstat (limited to 'make')
-rwxr-xr-x | make/gluegen-cpptasks-base.xml | 8 | ||||
-rw-r--r-- | make/lib/gluegen-cpptasks-linux-32bit.xml | 2 | ||||
-rw-r--r-- | make/lib/gluegen-cpptasks-linux-armv6.xml | 2 | ||||
-rw-r--r-- | make/lib/gluegen-cpptasks-linux-armv6hf.xml | 2 |
4 files changed, 14 insertions, 0 deletions
diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml index 911df8a..222cad7 100755 --- a/make/gluegen-cpptasks-base.xml +++ b/make/gluegen-cpptasks-base.xml @@ -929,6 +929,8 @@ <define name="DEBUG" if="c.compiler.use-debug"/> <define name="NDEBUG" unless="c.compiler.use-debug"/> </defineset> + <compilerarg value="-include"/> + <compilerarg value="${gluegen.root.abs-path}/make/stub_includes/platform/glibc-compat-symbols.h" /> </compiler> <compiler id="compiler.cfg.linux.x86" name="${gcc.compat.compiler}"> @@ -940,6 +942,8 @@ <define name="DEBUG" if="c.compiler.use-debug"/> <define name="NDEBUG" unless="c.compiler.use-debug"/> </defineset> + <compilerarg value="-include"/> + <compilerarg value="${gluegen.root.abs-path}/make/stub_includes/platform/glibc-compat-symbols.h" /> </compiler> <compiler id="compiler.cfg.linux.amd64" name="${gcc.compat.compiler}"> @@ -952,6 +956,8 @@ <define name="DEBUG" if="c.compiler.use-debug"/> <define name="NDEBUG" unless="c.compiler.use-debug"/> </defineset> + <compilerarg value="-include"/> + <compilerarg value="${gluegen.root.abs-path}/make/stub_includes/platform/glibc-compat-symbols.h" /> </compiler> <!-- Using default compiler settings - utilize: @@ -967,6 +973,8 @@ <define name="NDEBUG" unless="c.compiler.use-debug"/> </defineset> <compilerarg value="-fpic" /> + <compilerarg value="-include"/> + <compilerarg value="${gluegen.root.abs-path}/make/stub_includes/platform/glibc-compat-symbols.h" /> </compiler> <compiler id="compiler.cfg.android" name="${gcc.compat.compiler}"> diff --git a/make/lib/gluegen-cpptasks-linux-32bit.xml b/make/lib/gluegen-cpptasks-linux-32bit.xml index c05033d..69afca8 100644 --- a/make/lib/gluegen-cpptasks-linux-32bit.xml +++ b/make/lib/gluegen-cpptasks-linux-32bit.xml @@ -22,6 +22,8 @@ <compiler id="compiler.cfg.linux" name="gcc"> <compilerarg value="-m32" /> <compilerarg value="-Wall" /> + <compilerarg value="-include"/> + <compilerarg value="${gluegen.root.abs-path}/make/stub_includes/platform/glibc-compat-symbols.h" /> <defineset> <define name="LINUX" /> </defineset> diff --git a/make/lib/gluegen-cpptasks-linux-armv6.xml b/make/lib/gluegen-cpptasks-linux-armv6.xml index a1b7eaa..33f5891 100644 --- a/make/lib/gluegen-cpptasks-linux-armv6.xml +++ b/make/lib/gluegen-cpptasks-linux-armv6.xml @@ -45,6 +45,8 @@ <compilerarg value="-march=armv5te" /> <compilerarg value="-marm" /> <compilerarg value="-mfloat-abi=softfp" /> + <compilerarg value="-include"/> + <compilerarg value="${gluegen.root.abs-path}/make/stub_includes/platform/glibc-compat-symbols.h" /> </compiler> <linker id="linker.cfg.linux.armv6" name="gcc"> diff --git a/make/lib/gluegen-cpptasks-linux-armv6hf.xml b/make/lib/gluegen-cpptasks-linux-armv6hf.xml index 364d26a..3e0a95a 100644 --- a/make/lib/gluegen-cpptasks-linux-armv6hf.xml +++ b/make/lib/gluegen-cpptasks-linux-armv6hf.xml @@ -45,6 +45,8 @@ <compilerarg value="-march=armv6" /> <compilerarg value="-marm" /> <compilerarg value="-mfloat-abi=hard" /> + <compilerarg value="-include"/> + <compilerarg value="${gluegen.root.abs-path}/make/stub_includes/platform/glibc-compat-symbols.h" /> </compiler> <linker id="linker.cfg.linux.armv6" name="gcc"> |