aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-01-18 16:13:38 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-01-18 16:13:38 +0000
commit2303aef54dae5fa71891a40fa872f7325dc66766 (patch)
tree3df21a753fcf1f0f8e4d0acf301d961a34a14d03
parent2888ddd75968caa7445f79db65ea4d78c5f34778 (diff)
downloadpaludis-2303aef54dae5fa71891a40fa872f7325dc66766.tar.gz
paludis-2303aef54dae5fa71891a40fa872f7325dc66766.tar.xz
without_pedantic needs -Wno-non-virtual-dtor too
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 25b252d..f86b13a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -681,7 +681,6 @@ if test "x${cxx_compiler_icc}" = "xyes" ; then
CHECK_CXXFLAG([-wd1125])
CHECK_CXXFLAG([-wd1418])
CHECK_CXXFLAG([-wd1419])
- PALUDIS_CXXFLAGS_WITHOUT_PEDANTIC=$PALUDIS_CXXFLAGS
elif test "x${ac_cv_cxx_compiler_gnu}" = "xyes" ; then
CHECK_CXXFLAG([-Wall])
CHECK_CXXFLAG([-Wextra])
@@ -722,10 +721,8 @@ elif test "x${ac_cv_cxx_compiler_gnu}" = "xyes" ; then
PALUDIS_CXXFLAGS_NO_WWRITE_STRINGS=-Wno-write-strings
fi
CHECK_CXXFLAG([-Wno-ignored-qualifiers])
- PALUDIS_CXXFLAGS_WITHOUT_PEDANTIC=$PALUDIS_CXXFLAGS
else
CHECK_CXXFLAG([-Wall])
- PALUDIS_CXXFLAGS_WITHOUT_PEDANTIC=$PALUDIS_CXXFLAGS
fi
AC_MSG_RESULT([${cxxflags_message}])
@@ -752,6 +749,8 @@ int main(int, char **)
],
[AC_MSG_RESULT([no])])
+PALUDIS_CXXFLAGS_WITHOUT_PEDANTIC=$PALUDIS_CXXFLAGS
+
AC_MSG_CHECKING([whether -pedantic works if we use extern template])
if test "x${cxx_compiler_icc}" = "xyes" ; then
AC_MSG_RESULT([no, icc doesn't do pedantic])