Date: Mon, 30 Mar 2020 16:24:05 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r359444 - head/share/mk Message-ID: <202003301624.02UGO5eg034727@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003301624.02UGO5eg034727>