Remove --ld-path=* from _LDFLAGS

It makes no sense to pass --ld-path to direct ${LD} invocations.

This was missed in r366270 due to not doing a clean build.
This commit is contained in:
Brooks Davis 2020-10-13 20:04:13 +00:00
parent f845673b24
commit 3f8d55c617
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366684

View File

@ -240,7 +240,7 @@ LFLAGS ?=
# compiler driver flags (e.g. -mabi=*) that conflict with flags to LD.
LD ?= ld
LDFLAGS ?=
_LDFLAGS = ${LDFLAGS:S/-Wl,//g:N-mabi=*:N-fuse-ld=*}
_LDFLAGS = ${LDFLAGS:S/-Wl,//g:N-mabi=*:N-fuse-ld=*:N--ld-path=*}
MAKE ?= make