Date: Mon, 13 Nov 2017 19:44:33 +0000 (UTC) From: Alex Richardson <arichardson@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r325770 - head/share/mk Message-ID: <201711131944.vADJiXUG005807@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arichardson Date: Mon Nov 13 19:44:33 2017 New Revision: 325770 URL: https://svnweb.freebsd.org/changeset/base/325770 Log: Remove -fuse-ld= when creating _LDFLAGS from LDFLAGS The -fuse-ld flag is only meant to be passed to the compiler driver so direct linker invocations should not include it. Reviewed by: emaste, jhb Approved by: jhb (mentor) Differential Revision: https://reviews.freebsd.org/D12910 Modified: head/share/mk/sys.mk Modified: head/share/mk/sys.mk ============================================================================== --- head/share/mk/sys.mk Mon Nov 13 19:31:51 2017 (r325769) +++ head/share/mk/sys.mk Mon Nov 13 19:44:33 2017 (r325770) @@ -243,7 +243,7 @@ LFLAGS ?= # compiler driver flags (e.g. -mabi=*) that conflict with flags to LD. LD ?= ld LDFLAGS ?= -_LDFLAGS = ${LDFLAGS:S/-Wl,//g:N-mabi=*} +_LDFLAGS = ${LDFLAGS:S/-Wl,//g:N-mabi=*:N-fuse-ld=*} LINT ?= lint LINTFLAGS ?= -cghapbx
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711131944.vADJiXUG005807>