diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index 44a3814fae49..2f5a45187d19 100644 --- a/share/mk/bsd.cpu.mk +++ b/share/mk/bsd.cpu.mk @@ -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