From: Dominik Vogt Date: Sat, 25 Jul 2015 18:34:15 +0000 (+0000) Subject: S390: Clean up cross-compile for S390. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39a8bd7b642eb85f66ac9c7755a371c4532e267e;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 37b0ded42be..fad36e27a88 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-07-25 Dominik Vogt + + * config.host (s390*-*-*): Include driver-native.c only when + building with s390* as host *and* target. + 2015-07-25 Oleg Endo PR target/66930 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