Backport #1256 from trunk/: 1.3
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Dec 03 22:39:01 2008 +0000 (2008-12-03)
branch1.3
changeset 109039c307991b24
parent 1085 464ac365eab3
child 1091 6ed7374c8478
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(-)
scripts/crosstool.sh
     1.1 --- a/scripts/crosstool.sh	Fri Nov 28 23:36:14 2008 +0000
     1.2 +++ b/scripts/crosstool.sh	Wed Dec 03 22:39:01 2008 +0000
     1.3 @@ -303,8 +303,8 @@
     1.4      # Not only will it give us full-qualified tuples, but it will also ensure
     1.5      # that they are valid tuples (in case of typo with user-provided tuples)
     1.6      # That's way better than trying to rewrite config.sub ourselves...
     1.7 -    CT_BUILD=$(./tools/config.sub "${CT_BUILD}")
     1.8 -    CT_HOST=$(./tools/config.sub "${CT_HOST}")
     1.9 +    CT_BUILD=$(CT_DoConfigSub "${CT_BUILD}")
    1.10 +    CT_HOST=$(CT_DoConfigSub "${CT_HOST}")
    1.11  
    1.12      # Modify BUILD and HOST so that gcc always generate a cross-compiler
    1.13      # even if any of the build, host or target machines are the same.