summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremy@redxiii.local>2009-02-01 21:09:44 -0800
committerJeremy Huddleston <jeremy@redxiii.local>2009-02-01 21:09:44 -0800
commit96585612d17d31fa9dd0f5c260fc33f72be9a75f (patch)
treeb895c0eedc61acf8790e51a2ab3ab051651c42ed
parent58803c60b73110a49aecec4202e7820887633bcc (diff)
XORG_CWARNFLAGS: += is not valid for appending in bourn scripts
Fixes: ./configure: line 12921: CWARNFLAGS+= -Wold-style-definition -Wdeclaration-after-statement: command not found
-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 cbdcfa6..2a5e59c 100644
--- a/xorg-macros.m4.in
+++ b/xorg-macros.m4.in
@@ -447,7 +447,7 @@ if test "x$GCC" = xyes ; then
-Wbad-function-cast"
case `gcc -dumpversion` in
3.4.* | 4.*)
- CWARNFLAGS+=" -Wold-style-definition -Wdeclaration-after-statement"
+ CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
;;
esac
else