From fff28e7ff0cd33935e64901678941f3592537608 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 17 Sep 2016 03:04:20 +0100 Subject: Use the environment's CPPFLAGS as well as its CXXFLAGS. --- make/template/main.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'make/template') diff --git a/make/template/main.mk b/make/template/main.mk index 818b4139d..c2babe8f6 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -123,9 +123,9 @@ FOOTER = finishmessage CORECXXFLAGS += -DINSPIRCD_STATIC @ENDIF -# Add the users CXXFLAGS to the base ones to allow them to override -# things like -Wfatal-errors if they wish to. -CORECXXFLAGS += $(CXXFLAGS) +# Add the users CPPFLAGS/CXXFLAGS to the base ones to allow them to +# override things like -Wfatal-errors if they wish to. +CORECXXFLAGS += $(CPPFLAGS) $(CXXFLAGS) @DO_EXPORT CXX CORECXXFLAGS LDLIBS PICLDFLAGS INSPIRCD_VERBOSE SOCKETENGINE CORELDFLAGS @DO_EXPORT SOURCEPATH BUILDPATH INSPIRCD_STATIC -- cgit v1.2.3