From: Bernd Schmidt Date: Tue, 5 Dec 2006 15:45:51 +0000 (+0000) Subject: config.host (i[34567]86-*-*, x86-64-*-*): Use driver-i386.o only if target is also... X-Git-Tag: releases/gcc-4.3.0~8124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=08bac9d89c02684a2b51bfb8e2e59eef63b87436;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a9ef3fab670f..1dd2bc90daaa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-12-05 Bernd Schmidt + + * config.host (i[34567]86-*-*, x86-64-*-*): Use driver-i386.o only if + target is also an x86 variant. + 2006-12-05 Richard Guenther * config/i386/i386.c (ix86_builtin_vectorized_function): Declare. diff --git a/gcc/config.host b/gcc/config.host index ade31a2a4cc9..be6e3bf5143e 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