Date: Wed, 11 May 2022 17:13:47 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263913] bsd.sys.mk spams with "-fuse-ld= is not supported" during cleandir Message-ID: <bug-263913-227-9M0mArVik9@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-263913-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263913 Ed Maste <emaste@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #2 from Ed Maste <emaste@freebsd.org> --- I had a similar sort of situation in PR260099, but agree checking COMPILER_TYPE is probably the right thing here. This might be a bit simpler: emaste@nazar:~/src/freebsd-git/main $ git diff diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index f09987ecd962..221e8b028479 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -326,7 +326,7 @@ LDFLAGS+= --ld-path=${LD:[1]:S/^ld.//1W} .else LDFLAGS+= -fuse-ld=${LD:[1]:S/^ld.//1W} .endif -.else +.elif ${COMPILER_TYPE} == "gcc" # GCC does not support an absolute path for -fuse-ld so we just print this # warning instead and let the user add the required symlinks. # However, we can avoid this warning if -B is set appropriately (e.g. for -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263913-227-9M0mArVik9>
