Page MenuHomeFreeBSD

Makefile.libcompat: Quote CFLAGS and CXXFLAGS for sub-make
ClosedPublic

Authored by jrtc27 on Jul 7 2023, 11:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 6:51 AM
Unknown Object (File)
Sun, Nov 3, 9:22 PM
Unknown Object (File)
Wed, Oct 30, 11:58 PM
Unknown Object (File)
Wed, Oct 30, 12:34 AM
Unknown Object (File)
Wed, Oct 30, 12:34 AM
Unknown Object (File)
Wed, Oct 30, 12:33 AM
Unknown Object (File)
Wed, Oct 30, 12:22 AM
Unknown Object (File)
Tue, Oct 29, 10:47 PM
Subscribers
None

Details

Summary

Currently none of the words in these require quoting, but a future
commit will add words that do, thus we should make sure to quote each
word so the shell doesn't mangle them before calling the sub-make.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 52495
Build 49386: arc lint + arc unit

Event Timeline

jrtc27 created this revision.
This revision is now accepted and ready to land.Jul 8 2023, 12:35 AM

LGTM.

This make magic was unfamiliar to me. It may be worth including in the commit message a brief reference to the :@varname@string@ functionality, if you're so inclined.

New make magic to me also.