Page MenuHomeFreeBSD

build: only inspect the first word of toolchain tools
ClosedPublic

Authored by kevans on Jan 9 2024, 1:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
May 4 2024, 3:29 AM
Unknown Object (File)
May 2 2024, 5:20 AM
Unknown Object (File)
Apr 20 2024, 5:31 PM
Unknown Object (File)
Apr 20 2024, 5:27 PM
Unknown Object (File)
Apr 20 2024, 5:26 PM
Unknown Object (File)
Apr 19 2024, 5:13 AM
Unknown Object (File)
Apr 14 2024, 5:35 PM
Unknown Object (File)
Apr 14 2024, 8:00 AM
Subscribers

Details

Summary

CC/CXX/CPP/LD may all have arguments supplied in various circumstances,
which break the logic here. We only need to determine which of these
tools we're expecting to invoke from PATH, which just requires
examination of the first word. Limit our scope to exactly that.

Patch suggested by: jrtc27

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable