aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2006-12-05 15:45:51 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2006-12-05 15:45:51 +0000
commit08bac9d89c02684a2b51bfb8e2e59eef63b87436 (patch)
treed6423b9b9c445060f6cb023f06b3395d8bfe8fc4
parentdb3cf6bd4c939568b128daebc99c6c5633bd449c (diff)
downloadgcc-08bac9d89c02684a2b51bfb8e2e59eef63b87436.zip
gcc-08bac9d89c02684a2b51bfb8e2e59eef63b87436.tar.gz
gcc-08bac9d89c02684a2b51bfb8e2e59eef63b87436.tar.bz2
config.host (i[34567]86-*-*, x86-64-*-*): Use driver-i386.o only if target is also an x86 variant.
* config.host (i[34567]86-*-*, x86-64-*-*): Use driver-i386.o only if target is also an x86 variant. From-SVN: r119543
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.host10
2 files changed, 13 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a9ef3fa..1dd2bc9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-05 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * config.host (i[34567]86-*-*, x86-64-*-*): Use driver-i386.o only if
+ target is also an x86 variant.
+
2006-12-05 Richard Guenther <rguenther@suse.de>
* config/i386/i386.c (ix86_builtin_vectorized_function): Declare.
diff --git a/gcc/config.host b/gcc/config.host
index ade31a2..be6e3bf 100644
--- a/gcc/config.host
+++ b/gcc/config.host
@@ -97,8 +97,14 @@ esac
case ${host} in
i[34567]86-*-* \
| x86_64-*-* )
- host_extra_gcc_objs="driver-i386.o"
- host_xmake_file="${host_xmake_file} i386/x-i386"
+ case ${target} in
+ i[34567]86-*-* \
+ | x86_64-*-* )
+
+ host_extra_gcc_objs="driver-i386.o"
+ host_xmake_file="${host_xmake_file} i386/x-i386"
+ ;;
+ esac
;;
esac