summaryrefslogtreecommitdiffstats
path: root/make/lib
diff options
context:
space:
mode:
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>