diff options
author | Sven Gothel <[email protected]> | 2012-04-19 19:31:11 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-04-19 19:31:11 +0200 |
commit | 5efbe805c553a2ac21a79386c3e2147858d4308b (patch) | |
tree | d109b5b3ccc32d327baa6993928c9a04f19252a7 /make/lib/gluegen-cpptasks-linux-armv4.xml | |
parent | f04a677dbf7c222342b77bb29f52ecb57f8ecc83 (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/gluegen-cpptasks-linux-armv4.xml')
-rw-r--r-- | make/lib/gluegen-cpptasks-linux-armv4.xml | 7 |
1 files changed, 6 insertions, 1 deletions
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> |