Merge pull request #431 from bhundven/fix_cross_build_tools

cross: Only make 'build tools' for the 'build'
This commit is contained in:
Bryan Hundven 2016-08-26 10:47:23 -07:00 committed by GitHub
commit 2b887e417a

View File

@ -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