From c468e9b368991c0cab2032cdec513ad25b57e8d9 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 7 Dec 2012 03:32:50 +0000 Subject: Fix invalid argument warnings on clang. --- make/template/main.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'make/template/main.mk') diff --git a/make/template/main.mk b/make/template/main.mk index 1c61547fd..87a80162c 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -87,7 +87,10 @@ INSTMODE_LIB = 0644 DBGOK=0 @IFEQ $(D) 0 - CXXFLAGS += -O2 -g1 + CXXFLAGS += -O2 + @IFEQ $(CC) gcc + CXXFLAGS += -g1 + @ENDIF HEADER = std-header DBGOK=1 @ENDIF -- cgit v1.2.3