On master (4f8b1f8759301d2553183e14f72444a0f1d80725) {CPP,C,CXX,LD}FLAGS
that are specified in the command line are not propagated to packages:
0$ make --no-print-directory -C depends print-libevent_cxxflags CXXFLAGS=-some-fancy-flag
1libevent_cxxflags=-pipe -O2
This PR:
- propagates
{CPP,C,CXX,LD}FLAGS
to host packages:
0$ make --no-print-directory -C depends print-libevent_cxxflags CXXFLAGS=-some-fancy-flag
1libevent_cxxflags= -some-fancy-flag
- does not propagate
{CPP,C,CXX,LD}FLAGS
to native packages:
0$ make --no-print-directory -C depends print-native_b2_cxxflags CXXFLAGS=-some-fancy-flag
1native_b2_cxxflags=
- actually addresses the #23551 (comment)