mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +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// /\\ }"
|
||||
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=( \
|
||||
CC="${host}-gcc" \
|
||||
AR="${host}-ar" \
|
||||
PREFIX="${prefix}" \
|
||||
PKG_CONFIG=/bin/true \
|
||||
NO_PYTHON=1 \
|
||||
NO_YAML=1 \
|
||||
BIN=dtc \
|
||||
)
|
||||
if [ -n "${CT_DTC_VERBOSE}" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user