Makefile.libcompat: Quote CFLAGS and CXXFLAGS for sub-make
authorJessica Clarke <jrtc27@FreeBSD.org>
Sun, 9 Jul 2023 17:46:12 +0000 (18:46 +0100)
committerJessica Clarke <jrtc27@FreeBSD.org>
Sun, 9 Jul 2023 17:46:12 +0000 (18:46 +0100)
commit537f945fc89fab53f60fee07ac42c8aeab704ce7
tree56cc7c16f4d94043e7a5b54c319ded49db79d807
parent0fbb77c3ef8eecb91caad8997a325a17c5fb374e
Makefile.libcompat: Quote CFLAGS and CXXFLAGS for sub-make

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.

(Note that :@var@expr@ is the bmake syntax for map, replacing each word
with expr's evaluation, with var containing the input word)

Reviewed by: emaste, brooks, jhb
Differential Revision: https://reviews.freebsd.org/D40921
Makefile.libcompat