summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-12-03 22:39:01 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-12-03 22:39:01 (GMT)
commitb464c7c21c762ec2a2051a9b643c338133b545fb (patch)
treeab94528bdf38a1c4efcc30d4ed4ba2e7c951824f
parenta75d7dd7591e282081d921e9cfc43e4c5abf9838 (diff)
Backport #1256 from trunk/:
- Use the dedicated function CT_DoConfigSub rather than invoking config.sub directly. /branches/1.3/scripts/crosstool.sh | 4 2 2 0 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
-rwxr-xr-xscripts/crosstool.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh
index d077945..521ab8b 100755
--- a/scripts/crosstool.sh
+++ b/scripts/crosstool.sh
@@ -303,8 +303,8 @@ if [ -z "${CT_RESTART}" ]; then
# Not only will it give us full-qualified tuples, but it will also ensure
# that they are valid tuples (in case of typo with user-provided tuples)
# That's way better than trying to rewrite config.sub ourselves...
- CT_BUILD=$(./tools/config.sub "${CT_BUILD}")
- CT_HOST=$(./tools/config.sub "${CT_HOST}")
+ CT_BUILD=$(CT_DoConfigSub "${CT_BUILD}")
+ CT_HOST=$(CT_DoConfigSub "${CT_HOST}")
# Modify BUILD and HOST so that gcc always generate a cross-compiler
# even if any of the build, host or target machines are the same.