summaryrefslogtreecommitdiff
path: root/macros2/compiler-flags.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros2/compiler-flags.m4')
-rw-r--r--macros2/compiler-flags.m48
1 files changed, 3 insertions, 5 deletions
diff --git a/macros2/compiler-flags.m4 b/macros2/compiler-flags.m4
index c80710eb..b2b022c0 100644
--- a/macros2/compiler-flags.m4
+++ b/macros2/compiler-flags.m4
@@ -135,9 +135,7 @@ AC_DEFUN([GNOME_CXX_WARNINGS],[
fi
fi
AC_MSG_RESULT($complCXXFLAGS)
- if test "x$cxxflags_set" != "xyes"; then
- CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
- cxxflags_set=yes
- AC_SUBST(cxxflags_set)
- fi
+
+ WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
+ AC_SUBST(WARN_CXXFLAGS)
])