diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-05-06 16:42:59 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-05-06 16:42:59 +0200 |
commit | 5f54193297d86e404dfad6d36201366ec3510848 (patch) | |
tree | 584bbfe0f4965ddcee78a3a8adcea98ef531183a | |
parent | 74b99be3349d214a4aaf8093b6348d660dd2a157 (diff) | |
download | crosstool-ng-5f54193297d86e404dfad6d36201366ec3510848.tar.gz crosstool-ng-5f54193297d86e404dfad6d36201366ec3510848.tar.bz2 crosstool-ng-5f54193297d86e404dfad6d36201366ec3510848.zip |
scripts/functions: tweak the endianness LDFLAGS
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-rw-r--r-- | scripts/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions index 4e236669..ae582b22 100644 --- a/scripts/functions +++ b/scripts/functions @@ -971,13 +971,13 @@ CT_DoBuildTargetTuple() { target_endian_eb=eb target_endian_el= CT_ARCH_ENDIAN_CFLAG="-mbig-endian" - CT_ARCH_ENDIAN_LDFLAG="-EB" + CT_ARCH_ENDIAN_LDFLAG="-Wl,-EB" ;; little) target_endian_eb= target_endian_el=el CT_ARCH_ENDIAN_CFLAG="-mlittle-endian" - CT_ARCH_ENDIAN_LDFLAG="-EL" + CT_ARCH_ENDIAN_LDFLAG="-Wl,-EL" ;; esac |