]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
config.host (i[34567]86-*-*, x86-64-*-*): Use driver-i386.o only if target is also...
authorBernd Schmidt <bernd.schmidt@analog.com>
Tue, 5 Dec 2006 15:45:51 +0000 (15:45 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Tue, 5 Dec 2006 15:45:51 +0000 (15:45 +0000)
* config.host (i[34567]86-*-*, x86-64-*-*): Use driver-i386.o only if
target is also an x86 variant.

From-SVN: r119543

gcc/ChangeLog
gcc/config.host

index a9ef3fab670fc56fb149e5ca22850ef06a18d282..1dd2bc90daaadcecdbbd2229da4c757ad7bbb81b 100644 (file)
@@ -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.
index ade31a2a4cc91673ae91703b937d0f901099fd6f..be6e3bf5143efef3d8c61fa15f9a41d0d7ee8f0f 100644 (file)
@@ -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