diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-12-03 22:35:52 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-12-03 22:35:52 +0000 |
commit | 6129d0cabe3a1c7ac44df856c7fa8fa220d9bee6 (patch) | |
tree | 408fb74370baf2aa08515f189e6016eeabbdf5c3 | |
parent | 7d375510327c1177b376d16bc930cfd37d3328ab (diff) | |
download | crosstool-ng-6129d0cabe3a1c7ac44df856c7fa8fa220d9bee6.tar.gz crosstool-ng-6129d0cabe3a1c7ac44df856c7fa8fa220d9bee6.tar.bz2 crosstool-ng-6129d0cabe3a1c7ac44df856c7fa8fa220d9bee6.zip |
Use the dedicated function CT_DoConfigSub rather than invoking config.sub directly.
/trunk/scripts/crosstool.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-rwxr-xr-x | scripts/crosstool.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh index a2322fe0..3fc14e67 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. |