Oops LDFLAGS can be used to invoke gcc, so directly add -EB to {LD}.
This commit is contained in:
parent
b72f5c0f35
commit
220e6313cb
@ -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