From a7b8cb3f58ac6aaa5ab18b4893a79278b5f14950 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Fri, 26 Aug 2016 08:46:42 -0700 Subject: 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 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 -- cgit v0.10.2-6-g49f6