]> Git Repo - binutils.git/blobdiff - configure.in
* config.sub: Move deletion of patch suffix from here...
[binutils.git] / configure.in
index 1ed4555fa0657c0aac1a70343bb1ddc5e9a3d549..f83324c5c684a24eda802cde38c234a49af143d9 100644 (file)
@@ -149,6 +149,11 @@ esac
 
 is_cross_compiler=
 
+# Remove patch suffixes from host and target names
+# Example: 'sparc-sun-sunos4.1.3_U1'
+hostnop=`echo ${host} | sed '/sun-sunos/s/_U1//'`
+targetnop=`echo ${target} | sed '/sun-sunos/s/_U1//'`
+
 if [ x"${host}" = x"${target}" ] ; then
        # when doing a native toolchain, don't build the targets
        # that are in the 'cross only' list
This page took 0.022046 seconds and 4 git commands to generate.