mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 08:25:32 +00:00
cc/gcc: only build required core passes
We now know exactly what pass to build, so build only what is required. Reported-by: Trevor Woerner <trevor.woerner@linaro.org> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
parent
98bd0146e5
commit
eb0da898f8
@ -84,7 +84,7 @@ cc_gcc_lang_list() {
|
||||
do_cc_core_pass_1() {
|
||||
local -a core_opts
|
||||
|
||||
if [ "${CT_CC_CORE_PASSES_NEEDED}" != "y" ]; then
|
||||
if [ "${CT_CC_CORE_PASS_1_NEEDED}" != "y" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
@ -109,7 +109,7 @@ do_cc_core_pass_1() {
|
||||
do_cc_core_pass_2() {
|
||||
local -a core_opts
|
||||
|
||||
if [ "${CT_CC_CORE_PASSES_NEEDED}" != "y" ]; then
|
||||
if [ "${CT_CC_CORE_PASS_2_NEEDED}" != "y" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user