mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 14:42:26 +00:00
Suppress YAML support in DTC
... which fails to build if pkg-config is not installed. Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
d35d267278
commit
c317f57b40
@ -48,11 +48,17 @@ do_dtc_backend()
|
|||||||
eval "${arg// /\\ }"
|
eval "${arg// /\\ }"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Override PKG_CONFIG: if pkg-config is not installed, DTC's makefile
|
||||||
|
# misinterprets the error code and tries to enable YAML support while
|
||||||
|
# not linking against libyaml. NO_YAML=1 is sufficient to make the build
|
||||||
|
# pass; PKG_CONFIG=/bin/true just suppresses some scary error messages.
|
||||||
extra_opts=( \
|
extra_opts=( \
|
||||||
CC="${host}-gcc" \
|
CC="${host}-gcc" \
|
||||||
AR="${host}-ar" \
|
AR="${host}-ar" \
|
||||||
PREFIX="${prefix}" \
|
PREFIX="${prefix}" \
|
||||||
|
PKG_CONFIG=/bin/true \
|
||||||
NO_PYTHON=1 \
|
NO_PYTHON=1 \
|
||||||
|
NO_YAML=1 \
|
||||||
BIN=dtc \
|
BIN=dtc \
|
||||||
)
|
)
|
||||||
if [ -n "${CT_DTC_VERBOSE}" ]; then
|
if [ -n "${CT_DTC_VERBOSE}" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user