summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2012-05-06 14:42:59 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2012-05-06 14:42:59 (GMT)
commit4b3ceb0112ffe036a72a36e5ddd91efe641a45d4 (patch)
tree9736712a2f3c5f6f149511a02cf7eb5ff833b151
parent71d33dff6aabd481355019187060e653f4183450 (diff)
scripts/functions: tweak the endianness LDFLAGS
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> (transplanted from 04092e6b82ca3b06685055a323662ee343fdfe38)
-rw-r--r--scripts/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions
index 4e23666..ae582b2 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