# HG changeset patch # User "Yann E. MORIN" # Date 1228343941 0 # Node ID 39c307991b241b7e03571bd7e329fa216e4763e5 # Parent 464ac365eab36eddaaac316c60ecf65086075523 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(-) diff -r 464ac365eab3 -r 39c307991b24 scripts/crosstool.sh --- a/scripts/crosstool.sh Fri Nov 28 23:36:14 2008 +0000 +++ b/scripts/crosstool.sh Wed Dec 03 22:39:01 2008 +0000 @@ -303,8 +303,8 @@ # 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.