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

This commit is contained in:
cognet 2006-07-20 22:13:59 +00:00
parent 65c1492ca1
commit ea2d06724d

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