eglibc: nscd support depends on OPTION_EGLIBC_INET
PATCH 1/1 eglibc: nscd support depends on OPTION_EGLIBC_INET
Add --disable-nscd if DISTRO_FEATURES does not contain ipv4. This features is mapped to OPTION_EGLIBC_INET.
The default behavior is to activate nscd (if --disable-nscd is not passed to configure script). But nscd depends on OPTION_EGLIBC_INET, so compilation will fail if this option is not activated.
--- meta/recipes-core/eglibc/eglibc_2.18.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/eglibc/eglibc_2.18.bb +1 -0
@@ -79,6 +79,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ --without-selinux \ --enable-obsolete-rpc \ --with-kconfig=${STAGING_BINDIR_NATIVE} \ + ${@base_contains('DISTRO_FEATURES', 'ipv4', '', '--disable-nscd', d)} \ ${GLIBC_EXTRA_OECONF}" EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
Signature · 1 line
1.7.9.5
Quoted 6 lines · Andrei Gherzan
Add --disable-nscd if
DISTRO_FEATURESdoes not contain ipv4. This features is mapped toOPTION_EGLIBC_INET.
The default behavior is to activate nscd (if --disable-nscd is not passed to configure script). But nscd depends onOPTION_EGLIBC_INET, so compilation will fail if this option is not activated.
Does this also need the Package to be set for ALLOW_EMPTY?
Sau!
Quoted 18 lines
Signed-off-by Andrei Gherzan <[email protected]>--- meta/recipes-core/eglibc/eglibc_2.18.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-core/eglibc/eglibc_2.18.bb +1
-0@@ -79,6 +79,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ --without-selinux \ --enable-obsolete-rpc \ --with-kconfig=${STAGING_BINDIR_NATIVE} \ + ${@base_contains('DISTRO_FEATURES', 'ipv4', '', '--disable-nscd', d)} \ ${GLIBC_EXTRA_OECONF}" EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
Quoted 11 lines · Saul Wold
Quoted 9 lines · Andrei Gherzan
Add --disable-nscd if
DISTRO_FEATURESdoes not contain ipv4. This features is
mapped toOPTION_EGLIBC_INET.
The default behavior is to activate nscd (if --disable-nscd is not passed to
configure script). But nscd depends onOPTION_EGLIBC_INET, so compilation will
fail if this option is not activated.
Quoted 5 lines
Quoted 1 line
Does this also need the Package to be set for
ALLOW_EMPTY?Sau!
You're right. V2 is coming. Thanks.
Signature · 2 lines
*Andrei Gherzan* m: +40.744.478.414 | f: +40.31.816.28.12