summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xorg-macros.m4.in2
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