HomeFreeBSD

Hide -fuse-ld= not supported message for non-build targets

Description

Hide -fuse-ld= not supported message for non-build targets

In some build configurations a warning about (an absolute path for)
-fuse-ld= not being supported by GCC was emitted during cleandir or
other non-build make targets.

For these non-build targets COMPILER_TYPE is set to "none" but we
treated the .else case for COMPILER_TYPE==clang as implying gcc.
Check instead for COMPILER_TYPE==gcc.

PR: 263913
Reported by: pstef
Reviewed by: pstef
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 4143e4fb197bec8cad4cdf129c86d45b0e942fd9)

Details

Provenance
emasteAuthored on May 12 2022, 2:49 PM
Parents
rG94cea2fc0761: rtsock: fix a stack overflow
Branches
Unknown
Tags
Unknown