summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-30 16:03:35 -0400
committerMike Frysinger <vapier@gentoo.org>2016-03-30 18:03:07 -0400
commite7a6cbdba8e038f094b4719356a31a2e25a4d8e9 (patch)
treec22ae57d6aa5d071b7f420ed0f35c852c8007007 /sys-libs/glibc/files
parentsys-libs/glibc: add USE=rpc to control obsolete RPC/NIS APIs #381391 #576278 (diff)
downloadgentoo-e7a6cbdba8e038f094b4719356a31a2e25a4d8e9.tar.gz
gentoo-e7a6cbdba8e038f094b4719356a31a2e25a4d8e9.tar.bz2
gentoo-e7a6cbdba8e038f094b4719356a31a2e25a4d8e9.zip
sys-libs/glibc: add USE=audit & USE=caps #401677
Diffstat (limited to 'sys-libs/glibc/files')
-rw-r--r--sys-libs/glibc/files/eblits/src_configure.eblit7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-libs/glibc/files/eblits/src_configure.eblit b/sys-libs/glibc/files/eblits/src_configure.eblit
index 41ba5ddf7ad0..be6f52cb99d1 100644
--- a/sys-libs/glibc/files/eblits/src_configure.eblit
+++ b/sys-libs/glibc/files/eblits/src_configure.eblit
@@ -124,6 +124,10 @@ glibc_do_configure() {
myconf+=( $(use_enable vanilla timezone-tools) )
fi
+ # These libs don't have configure flags.
+ ac_cv_lib_audit_audit_log_user_avc_message=$(in_iuse audit && usex audit || echo no)
+ ac_cv_lib_cap_cap_init=$(in_iuse caps && usex caps || echo no)
+
# There is no configure option for this and we need to export it
# since the glibc build will re-run configure on itself
export libc_cv_slibdir=/$(get_libdir)
@@ -204,6 +208,9 @@ toolchain-glibc_headers_configure() {
libc_cv_z_relro=yes
libc_mips_abi=${ABI}
libc_mips_float=$([[ $(tc-is-softfloat) == "yes" ]] && echo soft || echo hard)
+ # These libs don't have configure flags.
+ ac_cv_lib_audit_audit_log_user_avc_message=no
+ ac_cv_lib_cap_cap_init=no
)
einfo "Forcing cached settings:"
for v in "${vars[@]}" ; do