aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Vogt <vogt@linux.vnet.ibm.com>2015-07-25 18:34:15 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2015-07-25 18:34:15 +0000
commit39a8bd7b642eb85f66ac9c7755a371c4532e267e (patch)
treebf71fc7765988acba30892c91924d83310682ff9
parent9354f9e7e2e50b1fd2527537e352404460bf77dd (diff)
downloadgcc-39a8bd7b642eb85f66ac9c7755a371c4532e267e.zip
gcc-39a8bd7b642eb85f66ac9c7755a371c4532e267e.tar.gz
gcc-39a8bd7b642eb85f66ac9c7755a371c4532e267e.tar.bz2
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. From-SVN: r226223
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.host8
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 37b0ded..fad36e2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-07-25 Dominik Vogt <vogt@linux.vnet.ibm.com>
+
+ * config.host (s390*-*-*): Include driver-native.c only when
+ building with s390* as host *and* target.
+
2015-07-25 Oleg Endo <olegendo@gcc.gnu.org>
PR target/66930
diff --git a/gcc/config.host b/gcc/config.host
index 4e456a1..3f7d594 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