summaryrefslogtreecommitdiffstats
path: root/make/lib
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-04-19 19:31:11 +0200
committerSven Gothel <[email protected]>2012-04-19 19:31:11 +0200
commit5efbe805c553a2ac21a79386c3e2147858d4308b (patch)
treed109b5b3ccc32d327baa6993928c9a04f19252a7 /make/lib
parentf04a677dbf7c222342b77bb29f52ecb57f8ecc83 (diff)
Relaxed Unix linker flags for Linux + Solaris ; Refined Linux Armv4 flags
Relaxed Unix linker flags for Linux + Solaris + <linkerarg value="-nostdlib" /> + <linkerarg value="-Bdynamic" /> Refined Linux Armv4 flags: - <compilerarg value="-msoft-float" /> + <compilerarg value="-marm" /> + <compilerarg value="-mfloat-abi=soft" /> Xerxes figured out these are required on pre-NEON and ARMv4 soft float boards, the latter is true for Rasperry PI at least.
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>