mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-22 01:36:47 +00:00
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>
This commit is contained in:
parent
11cb2ddd43
commit
a7b8cb3f58
@ -345,7 +345,7 @@ if [ -z "${CT_RESTART}" ]; then
|
|||||||
build_mangle="build_"
|
build_mangle="build_"
|
||||||
host_mangle="build_"
|
host_mangle="build_"
|
||||||
target_mangle=""
|
target_mangle=""
|
||||||
install_build_tools_for="BUILD HOST"
|
install_build_tools_for="BUILD"
|
||||||
;;
|
;;
|
||||||
canadian)
|
canadian)
|
||||||
build_mangle="build_"
|
build_mangle="build_"
|
||||||
@ -472,7 +472,7 @@ if [ -z "${CT_RESTART}" ]; then
|
|||||||
CT_CFLAGS_FOR_BUILD+=" ${CT_EXTRA_CFLAGS_FOR_BUILD}"
|
CT_CFLAGS_FOR_BUILD+=" ${CT_EXTRA_CFLAGS_FOR_BUILD}"
|
||||||
CT_LDFLAGS_FOR_BUILD=
|
CT_LDFLAGS_FOR_BUILD=
|
||||||
CT_LDFLAGS_FOR_BUILD+=" ${CT_EXTRA_LDFLAGS_FOR_BUILD}"
|
CT_LDFLAGS_FOR_BUILD+=" ${CT_EXTRA_LDFLAGS_FOR_BUILD}"
|
||||||
|
|
||||||
# Help host gcc
|
# Help host gcc
|
||||||
# Explicitly optimise, else the lines below will overide the
|
# Explicitly optimise, else the lines below will overide the
|
||||||
# package's default optimisation flags
|
# package's default optimisation flags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user