summaryrefslogtreecommitdiff
path: root/scripts/crosstool-NG.sh.in
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2016-08-26 15:46:42 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2016-08-26 15:48:32 (GMT)
commita7b8cb3f58ac6aaa5ab18b4893a79278b5f14950 (patch)
treea531b3cb6c764bdb54ba79f9174a648582f32916 /scripts/crosstool-NG.sh.in
parent11cb2ddd43fd1ff493f4b7cd63f1cf654294165f (diff)
cross: Only make 'build tools' for the 'build'
For a cross-compiler, we only need to make the 'build tools' for the 'build'. We also build the 'build tools' for the 'host' when building a cross-canadian toolchain. Closes #430 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'scripts/crosstool-NG.sh.in')
-rw-r--r--scripts/crosstool-NG.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in
index 01fe07c..3d7b91a 100644
--- a/scripts/crosstool-NG.sh.in
+++ b/scripts/crosstool-NG.sh.in
@@ -345,7 +345,7 @@ if [ -z "${CT_RESTART}" ]; then
build_mangle="build_"
host_mangle="build_"
target_mangle=""
- install_build_tools_for="BUILD HOST"
+ install_build_tools_for="BUILD"
;;
canadian)
build_mangle="build_"
@@ -472,7 +472,7 @@ if [ -z "${CT_RESTART}" ]; then
CT_CFLAGS_FOR_BUILD+=" ${CT_EXTRA_CFLAGS_FOR_BUILD}"
CT_LDFLAGS_FOR_BUILD=
CT_LDFLAGS_FOR_BUILD+=" ${CT_EXTRA_LDFLAGS_FOR_BUILD}"
-
+
# Help host gcc
# Explicitly optimise, else the lines below will overide the
# package's default optimisation flags