summaryrefslogtreecommitdiffstats
path: root/make/lib
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/lib
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/lib')
-rw-r--r--make/lib/gluegen-cpptasks-android-armv6.xml1
-rw-r--r--make/lib/gluegen-cpptasks-android-armv7.xml1
-rw-r--r--make/lib/gluegen-cpptasks-linux-armv6.xml1
-rw-r--r--make/lib/gluegen-cpptasks-linux-armv6hf.xml1
4 files changed, 4 insertions, 0 deletions
diff --git a/make/lib/gluegen-cpptasks-android-armv6.xml b/make/lib/gluegen-cpptasks-android-armv6.xml
index 1be5c1f..a6db2bc 100644
--- a/make/lib/gluegen-cpptasks-android-armv6.xml
+++ b/make/lib/gluegen-cpptasks-android-armv6.xml
@@ -88,6 +88,7 @@
<linkerarg value="--demangle" />
<linkerarg value="--gc-sections" />
<linkerarg value="--no-undefined" />
+ <linkerarg value="-static-libgcc"/>
<!-- The gcc from $NDK_TOOLCHAIN/$TARGET_TRIPLE/bin needs to be told
where to find libgcc as the default location (gcc -print-search-dirs)
is not correct. Not sure if this is a bug in the NDK or not. We also
diff --git a/make/lib/gluegen-cpptasks-android-armv7.xml b/make/lib/gluegen-cpptasks-android-armv7.xml
index a172fb5..dd7f5e9 100644
--- a/make/lib/gluegen-cpptasks-android-armv7.xml
+++ b/make/lib/gluegen-cpptasks-android-armv7.xml
@@ -88,6 +88,7 @@
<linkerarg value="--demangle" />
<linkerarg value="--gc-sections" />
<linkerarg value="--no-undefined" />
+ <linkerarg value="-static-libgcc"/>
<!-- The gcc from $NDK_TOOLCHAIN/$TARGET_TRIPLE/bin needs to be told
where to find libgcc as the default location (gcc -print-search-dirs)
is not correct. Not sure if this is a bug in the NDK or not. We also
diff --git a/make/lib/gluegen-cpptasks-linux-armv6.xml b/make/lib/gluegen-cpptasks-linux-armv6.xml
index d5267b8..a1b7eaa 100644
--- a/make/lib/gluegen-cpptasks-linux-armv6.xml
+++ b/make/lib/gluegen-cpptasks-linux-armv6.xml
@@ -54,6 +54,7 @@
<linkerarg value="-mfloat-abi=softfp" />
<linkerarg value="-nostdlib" />
<linkerarg value="-Bdynamic" />
+ <linkerarg value="-static-libgcc"/>
</linker>
</target>
diff --git a/make/lib/gluegen-cpptasks-linux-armv6hf.xml b/make/lib/gluegen-cpptasks-linux-armv6hf.xml
index 26f2db9..ed0b981 100644
--- a/make/lib/gluegen-cpptasks-linux-armv6hf.xml
+++ b/make/lib/gluegen-cpptasks-linux-armv6hf.xml
@@ -54,6 +54,7 @@
<linkerarg value="-mfloat-abi=hard" />
<linkerarg value="-nostdlib" />
<linkerarg value="-Bdynamic" />
+ <linkerarg value="-static-libgcc"/>
</linker>
</target>