mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 02:39:46 +00:00
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(-)
This commit is contained in:
parent
7d37551032
commit
6129d0cabe
@ -303,8 +303,8 @@ if [ -z "${CT_RESTART}" ]; then
|
|||||||
# Not only will it give us full-qualified tuples, but it will also ensure
|
# 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 they are valid tuples (in case of typo with user-provided tuples)
|
||||||
# That's way better than trying to rewrite config.sub ourselves...
|
# That's way better than trying to rewrite config.sub ourselves...
|
||||||
CT_BUILD=$(./tools/config.sub "${CT_BUILD}")
|
CT_BUILD=$(CT_DoConfigSub "${CT_BUILD}")
|
||||||
CT_HOST=$(./tools/config.sub "${CT_HOST}")
|
CT_HOST=$(CT_DoConfigSub "${CT_HOST}")
|
||||||
|
|
||||||
# Modify BUILD and HOST so that gcc always generate a cross-compiler
|
# 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.
|
# even if any of the build, host or target machines are the same.
|
||||||
|
Loading…
Reference in New Issue
Block a user