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

Details

Provenance
emasteAuthored on May 12 2022, 2:49 PM
Parents
rGf9e90c24737f: LinuxKPI: Implement linux/hashtable.h for FreeBSD.
Branches
Unknown
Tags
Unknown