summaryrefslogtreecommitdiffstats
path: root/make/gluegen-cpptasks-base.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-13 08:39:42 +0200
committerSven Gothel <[email protected]>2012-10-13 08:39:42 +0200
commit5702746c390b93f1aa1df474429263f196b382fd (patch)
tree6844db43e78382246993b29c78cde6d5f23f0716 /make/gluegen-cpptasks-base.xml
parent9667575aabfbf6fe503bc2e14e5ac7ea743949b0 (diff)
Adding gcc linker cfg: '-static-libgcc' for all def. build platforms:
- linker.cfg.linux - linker.cfg.linux.x86 - linker.cfg.linux.amd64 - linker.cfg.linux.armv6 - linker.cfg.solaris - linker.cfg.solaris.spacv9 - linker.cfg.solaris.amd64 - linker.cfg.macosx - linker.cfg.linux64.mingw64 - linker.cfg.linux64.mingw32 - linker.cfg.win32.mingw32 - linker.cfg.win32.mingw64 - android.armv6 - android.armv7 - linux.armv6 - linux.armv6hf These flags shall now go through autobuild and results will be validated, i.e.: - working - memory footprint
Diffstat (limited to 'make/gluegen-cpptasks-base.xml')
-rwxr-xr-xmake/gluegen-cpptasks-base.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml
index 8891695..723c7c2 100755
--- a/make/gluegen-cpptasks-base.xml
+++ b/make/gluegen-cpptasks-base.xml
@@ -1102,14 +1102,17 @@
<!-- Unix linker configuration -->
<linker id="linker.cfg.linux" name="gcc">
+ <linkerarg value="-static-libgcc"/>
</linker>
<linker id="linker.cfg.linux.x86" name="gcc">
<linkerarg value="-m32"/>
+ <linkerarg value="-static-libgcc"/>
</linker>
<linker id="linker.cfg.linux.amd64" name="gcc">
<linkerarg value="-m64"/>
+ <linkerarg value="-static-libgcc"/>
</linker>
<linker id="linker.cfg.linux.armv6" name="gcc">
@@ -1119,6 +1122,7 @@
<linkerarg value="-mfloat-abi=softfp" />
<linkerarg value="-nostdlib" />
<linkerarg value="-Bdynamic" />
+ <linkerarg value="-static-libgcc"/>
</linker>
<linker id="linker.cfg.linux.alpha" name="gcc">
@@ -1164,14 +1168,17 @@
<linker id="linker.cfg.solaris" name="gcc">
<linkerarg value="-m32"/>
+ <linkerarg value="-static-libgcc"/>
</linker>
<linker id="linker.cfg.solaris.sparcv9" name="gcc">
<linkerarg value="-xarch=v9a" />
+ <linkerarg value="-static-libgcc"/>
</linker>
<linker id="linker.cfg.solaris.amd64" name="gcc">
<linkerarg value="-m64"/>
+ <linkerarg value="-static-libgcc"/>
<!-- linkerarg value="-xarch=amd64" / -->
</linker>
@@ -1186,6 +1193,7 @@
<linkerarg value="-arch" if="use.macosx64"/>
<linkerarg value="x86_64" if="use.macosx64"/>
<linkerarg value="-mmacosx-version-min=10.5"/>
+ <linkerarg value="-static-libgcc"/>
<!-- Note: Apple doesn't seem to provide ppc64 binaries on Leopard -->
</linker>
@@ -1194,12 +1202,14 @@
<!--linker id="linker.cfg.linux64.mingw64" classname="net.sf.antcontrib.cpptasks.gcc.Gcc64Linker"-->
<linker id="linker.cfg.linux64.mingw64" classname="net.sf.antcontrib.cpptasks.gcc.GccLinker">
<linkerarg value="-m64"/>
+ <linkerarg value="-static-libgcc"/>
</linker>
<!--linker id="linker.cfg.linux64.mingw32" classname="net.sf.antcontrib.cpptasks.gcc.Gcc32Linker"-->
<linker id="linker.cfg.linux64.mingw32" classname="net.sf.antcontrib.cpptasks.gcc.GccLinker">
<linkerarg value="-m32"/>
<linkerarg value="-Wl,--kill-at" /> <!-- remove @ from function names, ie no __stdcall @nn -->
+ <linkerarg value="-static-libgcc"/>
</linker>
<linker id="linker.cfg.win32.mingw" name="gcc" incremental="false">
@@ -1207,6 +1217,7 @@
<linkerarg value="-Wl,--enable-auto-import"/> <!-- for linking against dll directly -->
<linkerarg value="-Wl,--enable-stdcall-fixup"/> <!-- for linking against dll directly -->
<linkerarg value="-Wl,--kill-at" /> <!-- remove @ from function names, ie no __stdcall @nn -->
+ <linkerarg value="-static-libgcc"/>
</linker>
<linker id="linker.cfg.win64.mingw" name="gcc" incremental="false">
@@ -1214,6 +1225,7 @@
<linkerarg value="-Wl,--enable-auto-import"/> <!-- for linking against dll directly -->
<linkerarg value="-Wl,--enable-stdcall-fixup"/> <!-- for linking against dll directly -->
<linkerarg value="-Wl,--kill-at" /> <!-- remove @ from function names, ie no __stdcall @nn -->
+ <linkerarg value="-static-libgcc"/>
</linker>
<linker id="linker.cfg.win32.msvc" name="msvc" incremental="false">