powerpc: --secure-plt only needs to pass to ld.bfd, not ld.lld

ld.lld only supports secure-plt for powerpc, so no need to pass the argument
in.
This commit is contained in:
Justin Hibbits 2020-03-30 16:24:05 +00:00
parent b766b8bf1a
commit 90be917249

View File

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