]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Don't include $CXXFLAGS into compile flags, as they are already when
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 22 May 2001 09:31:29 +0000 (09:31 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 22 May 2001 09:31:29 +0000 (09:31 +0000)
./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

index f36c89f404d772f05049a7ca8e5ebfc263d1ce0f..424288b0b9f5e74a503862286ac1b69f87a5f520 100644 (file)
@@ -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========= $<

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.