aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index f83324c..932cc25 100644
--- a/configure.in
+++ b/configure.in
@@ -149,12 +149,13 @@ esac
is_cross_compiler=
-# Remove patch suffixes from host and target names
+# Remove patch suffixes from host and target names.
# Example: 'sparc-sun-sunos4.1.3_U1'
+# See similar code in configure.
hostnop=`echo ${host} | sed '/sun-sunos/s/_U1//'`
targetnop=`echo ${target} | sed '/sun-sunos/s/_U1//'`
-if [ x"${host}" = x"${target}" ] ; then
+if [ x"${hostnop}" = x"${targetnop}" ] ; then
# when doing a native toolchain, don't build the targets
# that are in the 'cross only' list
for i in ${cross_only} ; do