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:
parent
b766b8bf1a
commit
90be917249
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user