From fdf3a1f9ccffdbf89e9b262e657ac77765a6be1f Mon Sep 17 00:00:00 2001
From: Dominik Vogt <vogt@linux.vnet.ibm.com>
Date: Thu, 23 Jul 2015 14:28:51 +0100
Subject: [PATCH] S390: Clean up cross-compile for S390.
---
gcc/config.host | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
@@ -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
--
2.3.0