Make little endian compiles produce little endian binaries on mips.
Submitted by: neel@
This commit is contained in:
parent
9649a9dd26
commit
56ac80ce81
@ -30,6 +30,10 @@ CFLAGS+= -DLONG_TYPE_SIZE=${LONG_TYPE_SIZE}
|
||||
CFLAGS+= -DCROSS_COMPILE
|
||||
.endif
|
||||
|
||||
.if ${TARGET_ARCH} == "mips" && !defined(TARGET_BIG_ENDIAN)
|
||||
CFLAGS += -DTARGET_ENDIAN_DEFAULT=0
|
||||
.endif
|
||||
|
||||
.if defined(WANT_FORCE_OPTIMIZATION_DOWNGRADE)
|
||||
CFLAGS+= -DFORCE_OPTIMIZATION_DOWNGRADE=${WANT_FORCE_OPTIMIZATION_DOWNGRADE}
|
||||
.endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user