Oops LDFLAGS can be used to invoke gcc, so directly add -EB to {LD}.

This commit is contained in:
Olivier Houchard 2006-07-20 22:13:59 +00:00
parent b72f5c0f35
commit 220e6313cb

View File

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