summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/xz-utils/xz-utils-9999.ebuild')
-rw-r--r--app-arch/xz-utils/xz-utils-9999.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-arch/xz-utils/xz-utils-9999.ebuild b/app-arch/xz-utils/xz-utils-9999.ebuild
index 11ddc15f918b..1ab617815a91 100644
--- a/app-arch/xz-utils/xz-utils-9999.ebuild
+++ b/app-arch/xz-utils/xz-utils-9999.ebuild
@@ -6,7 +6,7 @@
EAPI=8
-inherit libtool multilib multilib-minimal preserve-libs usr-ldscript
+inherit flag-o-matic libtool multilib multilib-minimal preserve-libs usr-ldscript
if [[ ${PV} == 9999 ]] ; then
# Per tukaani.org, git.tukaani.org is a mirror of github and
@@ -100,6 +100,10 @@ multilib_src_configure() {
myconf+=( --disable-path-for-script )
fi
+ # ifunc is incompatible w/ asan
+ # https://github.com/tukaani-project/xz/issues/62#issuecomment-1719489932
+ is-flagq -fsanitize=address && myconf+=( --disable-ifunc )
+
ECONF_SOURCE="${S}" econf "${myconf[@]}"
}