git: Prevent implicit -Wsystem-headers passing from CFLAGS to CXXFLAGS.
zrj at crater.dragonflybsd.org
Fri Feb 10 02:22:59 PST 2017
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Wed Feb 8 18:27:24 2017 +0200
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.
Summary of changes:
share/mk/sys.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
DragonFly BSD source repository
More information about the Commits