svn commit: r359444 - head/share/mk
Justin Hibbits
jhibbits at FreeBSD.org
Mon Mar 30 16:24:13 UTC 2020
Author: jhibbits
Date: Mon Mar 30 16:24:05 2020
New Revision: 359444
URL: https://svnweb.freebsd.org/changeset/base/359444
Log:
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.
Modified:
head/share/mk/bsd.cpu.mk
Modified: head/share/mk/bsd.cpu.mk
==============================================================================
--- head/share/mk/bsd.cpu.mk Mon Mar 30 16:22:16 2020 (r359443)
+++ head/share/mk/bsd.cpu.mk Mon Mar 30 16:24:05 2020 (r359444)
@@ -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"
More information about the svn-src-head
mailing list