diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2008-12-10 08:45:56 +0100 |
---|---|---|
committer | Matthieu Herrb <matthieu.herrb@laas.fr> | 2008-12-10 08:48:55 +0100 |
commit | 88920d0896be5194f626888d5d8b54edd1ffe1f6 (patch) | |
tree | 9ff5b2e59c52a7bebe5a374d7048f0850c63c2a3 | |
parent | 9ff834493ece0a0ea7d7f15c1706bab022362cc5 (diff) |
use more CWARNFLAGS with gcc 3.4 too.
Only gcc 3.3 and earlier version don't support them.
Reported and tested by Peter Breitenlohner.
-rw-r--r-- | xorg-macros.m4.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in index 9a2e26a..cbdcfa6 100644 --- a/xorg-macros.m4.in +++ b/xorg-macros.m4.in @@ -446,7 +446,7 @@ if test "x$GCC" = xyes ; then -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ -Wbad-function-cast" case `gcc -dumpversion` in - 4.*) + 3.4.* | 4.*) CWARNFLAGS+=" -Wold-style-definition -Wdeclaration-after-statement" ;; esac |