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
F102857921: D43372.diff
Mon, Nov 18, 2:05 AM
Unknown Object (File)
Tue, Nov 5, 7:16 AM
Unknown Object (File)
Sun, Nov 3, 7:48 PM
Unknown Object (File)
Sun, Nov 3, 7:48 PM
Unknown Object (File)
Sun, Nov 3, 7:48 PM
Unknown Object (File)
Sun, Nov 3, 7:38 PM
Unknown Object (File)
Sep 30 2024, 9:31 AM
Unknown Object (File)
Sep 24 2024, 11:44 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