mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-12 22:53:01 +00:00
dhcp-relay: Pass cross configure flags to bind build
This ensures that host tools like 'gen' are built for build host and not target. internal bind build supplies its own options to configuring it, where it does not pass --host option and as a result it does not deduce it to be a cross compile and hence these variables are not set property inside bind build Fixes | ./gen: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by ./gen) Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit d57c4655623a7271dc93cfb741ffdbf1b511a5c2) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
parent
b044efa0e9
commit
8846a5a318
@ -34,7 +34,14 @@ SYSTEMD_AUTO_ENABLE:${PN} = "disable"
|
||||
CFLAGS += "-D_GNU_SOURCE -fcommon"
|
||||
LDFLAGS:append = " -pthread"
|
||||
|
||||
EXTRA_OECONF = "--enable-paranoia \
|
||||
BIND_EXTRA_CONFIG = "\
|
||||
--build=${BUILD_SYS} \
|
||||
--host=${HOST_SYS} \
|
||||
--target=${TARGET_SYS} \
|
||||
"
|
||||
|
||||
EXTRA_OECONF = "--with-bind-extra-config="${BIND_EXTRA_CONFIG}" \
|
||||
--enable-paranoia \
|
||||
--disable-static \
|
||||
--enable-libtool \
|
||||
--with-randomdev=/dev/random \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user