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)
Tue, Sep 24, 11:44 AM
Unknown Object (File)
Sun, Sep 22, 8:11 PM
Unknown Object (File)
Sun, Sep 22, 5:25 PM
Unknown Object (File)
Sat, Sep 21, 12:26 AM
Unknown Object (File)
Fri, Sep 20, 3:26 PM
Unknown Object (File)
Tue, Sep 17, 9:41 PM
Unknown Object (File)
Fri, Sep 6, 2:47 AM
Unknown Object (File)
Wed, Sep 4, 1:35 PM
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