Make little endian compiles produce little endian binaries on mips.

Submitted by:	neel@
This commit is contained in:
Warner Losh 2010-03-05 21:24:41 +00:00
parent 9649a9dd26
commit 56ac80ce81
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204771

View File

@ -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