diff options
author | 2011-12-20 17:01:30 +0000 | |
---|---|---|
committer | 2011-12-20 17:01:30 +0000 | |
commit | 604fcd6577ea18c09a5fc3aefd3798f75f177ab3 (patch) | |
tree | 620e7145ba5f445cd274076664ca33ac0ae45a4b /config/warnings.m4 | |
parent | 2011-12-20 Pedro Alves <alves.ped@gmail.com> (diff) | |
download | binutils-gdb-604fcd6577ea18c09a5fc3aefd3798f75f177ab3.tar.gz binutils-gdb-604fcd6577ea18c09a5fc3aefd3798f75f177ab3.tar.bz2 binutils-gdb-604fcd6577ea18c09a5fc3aefd3798f75f177ab3.zip |
config/:
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
expr call.
libdecnumber/:
* configure: Regenerate.
libiberty/:
* configure: Regenerate.
Diffstat (limited to 'config/warnings.m4')
-rw-r--r-- | config/warnings.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/warnings.m4 b/config/warnings.m4 index 292e5a471a7..b64b594e627 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]) |