mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-05 18:39:19 +00:00
scripts/functions: tweak the endianness LDFLAGS
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> (transplanted from 04092e6b82ca3b06685055a323662ee343fdfe38)
This commit is contained in:
parent
71d33dff6a
commit
4b3ceb0112
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user