projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
475fd52
)
Fix the check for the -Wno-unused-but-set-variable gcc option.
author
Zoltan Varga
<vargaz@gmail.com>
Tue, 7 Jun 2011 19:55:22 +0000
(21:55 +0200)
committer
Zoltan Varga
<vargaz@gmail.com>
Tue, 7 Jun 2011 20:04:59 +0000
(22:04 +0200)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index c6289981b77f4f96e7d9f37bfff753744470d227..ef07f7c755f33f086334dda629f0d1796251f054 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-497,7
+497,8
@@
if test x"$GCC" = xyes; then
])
ORIG_CFLAGS=$CFLAGS
- CFLAGS="$CFLAGS -Wno-unused-but-set-variable"
+ # Check for the normal version, since gcc ignores unknown -Wno options
+ CFLAGS="$CFLAGS -Wunused-but-set-variable"
AC_MSG_CHECKING(for -Wno-unused-but-set-variable option to gcc)
AC_TRY_COMPILE([], [
void main () { }