summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-20 16:54:12 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2011-12-20 16:54:12 +0000
commit80cfebdb2aacb450e551a3dad687c6814493723c (patch)
tree1baaac9fb8a134768b5e076a72a33d804018efd1 /config
parent941a2396e3d2af2d96a31e670b913c4331bee05b (diff)
downloadppe42-gcc-80cfebdb2aacb450e551a3dad687c6814493723c.tar.gz
ppe42-gcc-80cfebdb2aacb450e551a3dad687c6814493723c.zip
config/:
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call. fixincludes/: * configure: Regenerate. gcc/: * configure: Regenerate. libcpp/: * configure: Regenerate. libdecnumber/: * configure: Regenerate. libiberty/: * configure: Regenerate. lto-plugin/: * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182546 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/warnings.m42
2 files changed, 6 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 5c8b62c88fd..8012167e1ab 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-20 Andreas Schwab <schwab@linux-m68k.org>
+
+ * warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
+ expr call.
+
2011-12-19 Andreas Schwab <schwab@linux-m68k.org>
PR bootstrap/51388
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])
OpenPOWER on IntegriCloud