Oops LDFLAGS can be used to invoke gcc, so directly add -EB to {LD}.
This commit is contained in:
parent
65c1492ca1
commit
ea2d06724d
@ -189,7 +189,7 @@ _CPUCFLAGS += -mieee
|
||||
|
||||
.if ${MACHINE_ARCH} == "arm" && defined(ARM_BIG_ENDIAN)
|
||||
CFLAGS += -mbig-endian
|
||||
LDFLAGS += -EB
|
||||
LD += -EB
|
||||
.endif
|
||||
|
||||
# NB: COPTFLAGS is handled in /usr/src/sys/conf/kern.pre.mk
|
||||
|
Loading…
Reference in New Issue
Block a user