Date: Wed, 11 May 2022 06:36:30 +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@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263913 Bug ID: 263913 Summary: bsd.sys.mk spams with "-fuse-ld= is not supported" during cleandir Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: pstef@freebsd.org I silenced it with this: diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index fefad7996ee..7a1e3547244 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -317,6 +317,8 @@ CFLAGS+= ERROR-tried-to-rebuild-during-make-install .endif .endif +# If COMPILER_TYPE == "none", we are doing a make obj/cleandir/cleanobj +.if ${COMPILER_TYPE} != "none" # Please keep this if in sync with kern.mk .if ${LD} != "ld" && (${CC:[1]:H} != ${LD:[1]:H} || ${LD:[1]:T} != "ld") # Add -fuse-ld=${LD} if $LD is in a different directory or not called "ld". @@ -337,6 +339,7 @@ LDFLAGS+= -fuse-ld=${LD:[1]:S/^ld.//1W} .endif .endif .endif +.endif # Tell bmake not to mistake standard targets for things to be searched for # or expect to ever be up-to-date. -- 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>
