diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-08-23 16:48:09 +0000 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-08-23 16:48:09 +0000 |
commit | e2fc281c6b209a72ae41d8781a83f95893eba961 (patch) | |
tree | ca3cc6c50ac339787967c6cd91a7fd1af6784f91 /macros2 | |
parent | 714401b78242b83912fcdd78a6a5615ebcc301c8 (diff) | |
download | shared-mime-info-e2fc281c6b209a72ae41d8781a83f95893eba961.tar.gz |
Define WARN_CXXFLAGS instead of overwriting CXXFLAGS (like WARN_FLAGS).
2003-08-23 Marco Pesenti Gritti <marco@gnome.org>
* macros2/compiler-flags.m4:
Define WARN_CXXFLAGS instead of overwriting
CXXFLAGS (like WARN_FLAGS).
svn path=/trunk/; revision=3055
Diffstat (limited to 'macros2')
-rw-r--r-- | macros2/compiler-flags.m4 | 8 |
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) ]) |