aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config.gcc4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f54b094..da2a69f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2008-06-09 Kai Tietz <kai.tietz@onevision.com>
* config/i386/cygming.h (TARGET_SUBTARGET64_DEFAULT): New.
diff --git a/gcc/config.gcc b/gcc/config.gcc
index a18ba97..735013e 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -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
;;