summaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-25 18:34:15 +0000
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2015-07-25 18:34:15 +0000
commitcce0626467668fe21af67eb5ae7d5239deaf1a61 (patch)
treebf71fc7765988acba30892c91924d83310682ff9 /gcc/config.host
parentbd2a8585fd309941280f12dac568a324fa1f50ff (diff)
downloadgcc-cce0626467668fe21af67eb5ae7d5239deaf1a61.tar.gz
S390: Clean up cross-compile for S390.
gcc/ChangeLog * config.host (s390*-*-*): Include driver-native.c only when building with s390* as host *and* target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226223 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.host')
-rw-r--r--gcc/config.host8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/config.host b/gcc/config.host
index 4e456a1b539..3f7d5947f7c 100644
--- a/gcc/config.host
+++ b/gcc/config.host
@@ -173,8 +173,12 @@ case ${host} in
esac
;;
s390-*-* | s390x-*-*)
- host_extra_gcc_objs="driver-native.o"
- host_xmake_file="${host_xmake_file} s390/x-native"
+ case ${target} in
+ s390-*-* | s390x-*-*)
+ host_extra_gcc_objs="driver-native.o"
+ host_xmake_file="${host_xmake_file} s390/x-native"
+ ;;
+ esac
;;
sparc*-*-solaris2*)
case ${target} in