diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index b22e81ecc26a..3198f80c4ca1 100644 --- a/share/mk/bsd.cpu.mk +++ b/share/mk/bsd.cpu.mk @@ -340,7 +340,7 @@ CFLAGS += -mfloat-abi=softfp .endif .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpcspe" -LDFLAGS+= -Wl,--secure-plt +LDFLAGS.bfd+= -Wl,--secure-plt .endif .if ${MACHINE_ARCH} == "powerpcspe"