diff options
author | Sven Gothel <sgothel@jausoft.com> | 2019-04-07 22:34:37 +0200 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2019-04-07 22:34:37 +0200 |
commit | 117565b7d8771b6c9c2144b2d1ef5a131446e058 (patch) | |
tree | 5ba3405ee8a354fabae5a81c1445a1aea8d9b8e0 /make/lib/gluegen-cpptasks-linux-armv6hf-ontarget.xml | |
parent | 12047cae51b5a594b38c9e162f135352452c46fd (diff) |
Bug 1190: Fix arm6hf + aarch64 gcc options, adapt glibc-compat-symbols.h
- arm6hf needs the fpu to be specified, we still use the lowest armv6 hard float denominator
- aarch64 shall have the -march compiler argument as well
- glibc-compat-symbols.h Finally drop the glibc versioning on memcpy for both
Diffstat (limited to 'make/lib/gluegen-cpptasks-linux-armv6hf-ontarget.xml')
-rw-r--r-- | make/lib/gluegen-cpptasks-linux-armv6hf-ontarget.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/make/lib/gluegen-cpptasks-linux-armv6hf-ontarget.xml b/make/lib/gluegen-cpptasks-linux-armv6hf-ontarget.xml index 03b983c..5e03246 100644 --- a/make/lib/gluegen-cpptasks-linux-armv6hf-ontarget.xml +++ b/make/lib/gluegen-cpptasks-linux-armv6hf-ontarget.xml @@ -42,8 +42,9 @@ </defineset> <compilerarg value="-fpic" /> <compilerarg value="-march=armv6" /> - <compilerarg value="-marm" /> + <compilerarg value="-mfpu=vfp" /> <compilerarg value="-mfloat-abi=hard" /> + <compilerarg value="-marm" /> <compilerarg value="-include"/> <compilerarg value="${gluegen.root.abs-path}/make/stub_includes/platform/glibc-compat-symbols.h" /> </compiler> @@ -51,8 +52,9 @@ <linker id="linker.cfg.linux.armv6" name="gcc"> <linkerarg value="-fpic" /> <linkerarg value="-march=armv6" /> - <linkerarg value="-marm" /> + <linkerarg value="-mfpu=vfp" /> <linkerarg value="-mfloat-abi=hard" /> + <linkerarg value="-marm" /> <linkerarg value="-nostdlib" /> <linkerarg value="-Bdynamic" /> <linkerarg value="-static-libgcc" if="isGCC"/> |