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 | 4b3ceb0112ffe036a72a36e5ddd91efe641a45d4 (patch) | |
tree | 9736712a2f3c5f6f149511a02cf7eb5ff833b151 | |
parent | 71d33dff6aabd481355019187060e653f4183450 (diff) | |
download | crosstool-ng-4b3ceb0112ffe036a72a36e5ddd91efe641a45d4.tar.gz crosstool-ng-4b3ceb0112ffe036a72a36e5ddd91efe641a45d4.tar.bz2 crosstool-ng-4b3ceb0112ffe036a72a36e5ddd91efe641a45d4.zip |
scripts/functions: tweak the endianness LDFLAGS
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from 04092e6b82ca3b06685055a323662ee343fdfe38)
-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 |