summaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-05 15:45:51 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-05 15:45:51 +0000
commitf097fe9c0f882cc4d828971fdbedb52657e3b53f (patch)
treed6423b9b9c445060f6cb023f06b3395d8bfe8fc4 /gcc/config.host
parentfcd2028f676c4e4e87b011a116cfebe104dee486 (diff)
downloadgcc-f097fe9c0f882cc4d828971fdbedb52657e3b53f.tar.gz
* config.host (i[34567]86-*-*, x86-64-*-*): Use driver-i386.o only if
target is also an x86 variant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119543 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.host')
-rw-r--r--gcc/config.host10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/config.host b/gcc/config.host
index ade31a2a4cc..be6e3bf5143 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