mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-19 08:36:16 +00:00
Merge pull request #640 from stilor/make-no-guile-canadian
Disable Guile in make if building for host in canadian
This commit is contained in:
commit
8f4db915bd
@ -46,11 +46,16 @@ do_make_backend() {
|
||||
local prefix
|
||||
local cflags
|
||||
local ldflags
|
||||
local -a extra_config
|
||||
|
||||
for arg in "$@"; do
|
||||
eval "${arg// /\\ }"
|
||||
done
|
||||
|
||||
if [ "${host}" != "${CT_BUILD}" ]; then
|
||||
extra_config+=( --without-guile )
|
||||
fi
|
||||
|
||||
CT_DoLog EXTRA "Configuring make"
|
||||
CT_DoExecLog CFG \
|
||||
CFLAGS="${cflags}" \
|
||||
@ -58,7 +63,8 @@ do_make_backend() {
|
||||
${CONFIG_SHELL} \
|
||||
"${CT_SRC_DIR}/make-${CT_MAKE_VERSION}/configure" \
|
||||
--host="${host}" \
|
||||
--prefix="${prefix}"
|
||||
--prefix="${prefix}" \
|
||||
"${extra_config[@]}"
|
||||
|
||||
CT_DoLog EXTRA "Building make"
|
||||
CT_DoExecLog ALL make
|
||||
|
Loading…
x
Reference in New Issue
Block a user