mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Make little endian compiles produce little endian binaries on mips.
Submitted by: neel@
This commit is contained in:
parent
9649a9dd26
commit
56ac80ce81
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Reference in a new issue