aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-01-27 14:12:33 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-01-28 11:18:19 -0800
commita7079ed55bb2b79e6db5eb50dd8e617849f185f6 (patch)
tree36c3d5b625e746dcae912a193f82ea7636944679
parent09732c3fa6ff98b8794670360b93142c94b37b41 (diff)
downloadpaludis-a7079ed55bb2b79e6db5eb50dd8e617849f185f6.tar.gz
paludis-a7079ed55bb2b79e6db5eb50dd8e617849f185f6.tar.xz
build: don't bother with the old spelling
`-Wextra` has been supported for some time now (and was present in at least GCC 4.3 and clang 3.7). We now need at least GCC 4.8 for C++11 support. Lets go ahead and forget that `-Wextra` was ever spelt `-W`.
-rw-r--r--configure.ac3
1 files changed, 0 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 6a7fea1..b717753 100644
--- a/configure.ac
+++ b/configure.ac
@@ -334,9 +334,6 @@ int main(int, char **)
if test "x${ac_cv_cxx_compiler_gnu}" = "xyes" ; then
CHECK_CXXFLAG([-Wall])
CHECK_CXXFLAG([-Wextra])
- if test x"$cxxflag_success" = x"no" ; then
- CHECK_CXXFLAG([-W])
- fi
CHECK_CXXFLAG([-Wold-style-cast])
CHECK_CXXFLAG([-Wredundant-decls])
CHECK_CXXFLAG([-Wstrict-null-sentinel])