From: Wolfgang Bangerth Date: Tue, 22 May 2001 09:31:29 +0000 (+0000) Subject: Don't include $CXXFLAGS into compile flags, as they are already when X-Git-Tag: v8.0.0~19107 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8c7a9aad699bc7f8ec1ea1ab520d6f4228385c6;p=dealii.git Don't include $CXXFLAGS into compile flags, as they are already when ./configuring. Only add -Wno-missing-noreturn when using gcc. git-svn-id: https://svn.dealii.org/trunk@4687 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/Makefile.rules b/tests/Makefile.rules index f36c89f404..424288b0b9 100644 --- a/tests/Makefile.rules +++ b/tests/Makefile.rules @@ -24,7 +24,11 @@ ifneq ($(with-multithreading),no) LIBS += $(lib-ACE) endif -flags = $(CXXFLAGS.g) $(CXXFLAGS) -Wno-missing-noreturn +flags = $(CXXFLAGS.g) + +ifeq ($(findstring gcc,$(GXX_VERSION)),gcc) +flags += -Wno-missing-noreturn +endif %.go : %.cc Makefile @echo =====debug========= $<