aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
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 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