[PATCH, committed] Fix config.gcc shell lossage
Michael Meissner
michael.meissner@amd.com
Mon Jun 9 16:23:00 GMT 2008
NightStrike pointed this out and it fixes builds on some machines. I committed
it as obvious:
2008-06-09 Michael Meissner <michael.meissner@amd.com>
* config.gcc (i[34567]86-*-*): Put test in quotes to prevent
failure on some Bourne shells.
(x86_64-*-*): Ditto.
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc (revision 136593)
+++ gcc/config.gcc (working copy)
@@ -360,13 +360,13 @@ fi
case ${target} in
i[34567]86-*-*)
- if test $enable_cld = yes; then
+ if test "x$enable_cld" = xyes; then
tm_defines="${tm_defines} USE_IX86_CLD=1"
fi
;;
x86_64-*-*)
tm_file="i386/biarch64.h ${tm_file}"
- if test $enable_cld = yes; then
+ if test "x$enable_cld" = xyes; then
tm_defines="${tm_defines} USE_IX86_CLD=1"
fi
;;
--
Michael Meissner, AMD
90 Central Street, MS 83-29, Boxborough, MA, 01719, USA
michael.meissner@amd.com
More information about the Gcc-patches
mailing list