diff options
author | Sam James <sam@gentoo.org> | 2021-10-14 07:14:08 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-10-14 07:14:46 +0100 |
commit | 46cb1cb5a5e1f8eeba77ad733d3af149d8a4ce19 (patch) | |
tree | e9ea3e9f8f65196593e93f3a6e8b47d8e704d7e2 /eclass | |
parent | sys-devel/binutils: cleanup Manifest (diff) | |
download | prefix-46cb1cb5a5e1f8eeba77ad733d3af149d8a4ce19.tar.gz prefix-46cb1cb5a5e1f8eeba77ad733d3af149d8a4ce19.tar.bz2 prefix-46cb1cb5a5e1f8eeba77ad733d3af149d8a4ce19.zip |
toolchain.eclass: depend on virtual/libcrypt with USE=sanitize
Bug: https://bugs.gentoo.org/802648
Closes: https://bugs.gentoo.org/817974
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index da707d504d..2bdc8f5633 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -259,6 +259,13 @@ if tc_has_feature gcj ; then DEPEND+=" gcj? ( awt? ( ${GCJ_GTK_DEPS} ) ${GCJ_DEPS} )" fi +if tc_has_feature sanitize ; then + # libsanitizer relies on 'crypt.h' to be present + # on target. glibc userdto provide it unconditionally. + # Nowadays it's a standalone library: #802648 + DEPEND+=" sanitize? ( virtual/libcrypt )" +fi + if tc_has_feature systemtap ; then # gcc needs sys/sdt.h headers on target DEPEND+=" systemtap? ( dev-util/systemtap )" |