Prevent implicit -Wsystem-headers passing from CFLAGS to CXXFLAGS.
commit6954d52dca31dc7773729c0bf92e14fb1dab5aae
authorzrj <rimvydas.jasinskas@gmail.com>
Wed, 8 Feb 2017 16:27:24 +0000 (8 18:27 +0200)
committerzrj <zrj@dragonflybsd.org>
Fri, 10 Feb 2017 10:39:09 +0000 (10 12:39 +0200)
tree137b3d36377f645506c07f15c71483c5234a5e19
parent181061dcc06cfb39a569aba7a75b939a19ca14a3
Prevent implicit -Wsystem-headers passing from CFLAGS to CXXFLAGS.

Upcoming clang will be the first base system part that very heavily depends on
c++ headers, this prevents setting any level of WARNS in clang's makefiles
without performing certain unsafe manipulations of CXXFLAGS. To prevent that
it makes sense to allow only explict use directly in CXXFLAGS where it is
needed given c++11 headers are part of contrib and quite noisy with deprecated
attributes for previous features/interfaces to c++11 standard.
share/mk/sys.mk