From 00dacda7afc80d09a8557b81b26a400e5ee84d82 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 22 May 2001 09:31:29 +0000 Subject: [PATCH] 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 --- tests/Makefile.rules | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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========= $< -- 2.39.5