summaryrefslogtreecommitdiffstats
path: root/make/lib/gluegen-cpptasks-linux-armv6hf.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-07-19 01:21:42 +0200
committerSven Gothel <[email protected]>2015-07-19 01:21:42 +0200
commitad064d8dd94f44093fe196edd4a2dfb6c3a0a8fa (patch)
treeb4a08a17343e3df8e789157798ac7bbb03daebcc /make/lib/gluegen-cpptasks-linux-armv6hf.xml
parent708a163e333e9e7786c1828d028c8ca10b584f47 (diff)
GCC Linker Config: Add '-static-libstdc++' in case libstdc++ is being linked
Linking libstdc++ dynamically might cause issues on platforms where a huge variation of named library exists - or none even is installed.
Diffstat (limited to 'make/lib/gluegen-cpptasks-linux-armv6hf.xml')
-rw-r--r--make/lib/gluegen-cpptasks-linux-armv6hf.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/lib/gluegen-cpptasks-linux-armv6hf.xml b/make/lib/gluegen-cpptasks-linux-armv6hf.xml
index 3e0a95a..df5a91c 100644
--- a/make/lib/gluegen-cpptasks-linux-armv6hf.xml
+++ b/make/lib/gluegen-cpptasks-linux-armv6hf.xml
@@ -56,7 +56,8 @@
<linkerarg value="-mfloat-abi=hard" />
<linkerarg value="-nostdlib" />
<linkerarg value="-Bdynamic" />
- <linkerarg value="-static-libgcc"/>
+ <linkerarg value="-static-libgcc" if="isGCC"/>
+ <linkerarg value="-static-libstdc++" if="isGCC"/>
</linker>
</target>