summaryrefslogtreecommitdiffstats
path: root/make/lib
diff options
context:
space:
mode:
Diffstat (limited to 'make/lib')
-rw-r--r--make/lib/gluegen-cpptasks-linux-32bit.xml2
-rw-r--r--make/lib/gluegen-cpptasks-linux-armv4.xml7
2 files changed, 8 insertions, 1 deletions
diff --git a/make/lib/gluegen-cpptasks-linux-32bit.xml b/make/lib/gluegen-cpptasks-linux-32bit.xml
index c05033d..6a70818 100644
--- a/make/lib/gluegen-cpptasks-linux-32bit.xml
+++ b/make/lib/gluegen-cpptasks-linux-32bit.xml
@@ -29,6 +29,8 @@
<linker id="linker.cfg.linux" name="gcc">
<linkerarg value="-m32" />
+ <linkerarg value="-nostdlib" />
+ <linkerarg value="-Bdynamic" />
</linker>
</target>
diff --git a/make/lib/gluegen-cpptasks-linux-armv4.xml b/make/lib/gluegen-cpptasks-linux-armv4.xml
index 1e5f162..8911a6a 100644
--- a/make/lib/gluegen-cpptasks-linux-armv4.xml
+++ b/make/lib/gluegen-cpptasks-linux-armv4.xml
@@ -43,12 +43,17 @@
</defineset>
<compilerarg value="-fpic" />
<compilerarg value="-march=armv4t" />
- <compilerarg value="-msoft-float" />
+ <compilerarg value="-marm" />
+ <compilerarg value="-mfloat-abi=soft" />
</compiler>
<linker id="linker.cfg.linux.armv7" name="gcc">
<linkerarg value="-fpic" />
<linkerarg value="-march=armv4t" />
+ <linkerarg value="-marm" />
+ <linkerarg value="-mfloat-abi=soft" />
+ <linkerarg value="-nostdlib" />
+ <linkerarg value="-Bdynamic" />
</linker>
</target>