| Submitter | Andreas Schwab |
|---|---|
| Date | Dec. 20, 2011, 4:55 p.m. |
| Message ID | <m2k45rtc7b.fsf@igel.home> |
| Download | mbox | patch |
| Permalink | /patch/132454/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/config/warnings.m4 b/config/warnings.m4 index 292e5a4..b64b594 100644 --- a/config/warnings.m4 +++ b/config/warnings.m4 @@ -32,7 +32,7 @@ for real_option in $1; do # Do the check with the no- prefix removed since gcc silently # accepts any -Wno-* option on purpose case $real_option in - -Wno-*) option=-W`expr $real_option : '-Wno-\(.*\)'` ;; + -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;; *) option=$real_option ;; esac AS_VAR_PUSHDEF([acx_Woption], [acx_cv_prog_cc_warning_$option])