diff options
author | Sam James <sam@gentoo.org> | 2023-09-15 07:55:56 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-09-15 07:57:51 +0100 |
commit | 3791ad536e966dab33f62614f16b224fd10bf6a2 (patch) | |
tree | 8e88a89391bae2dc70c7342a331baf6d7915c54f /app-arch | |
parent | sys-fs/rar2fs: drop eautoreconf call (diff) | |
download | gentoo-3791ad536e966dab33f62614f16b224fd10bf6a2.tar.gz gentoo-3791ad536e966dab33f62614f16b224fd10bf6a2.tar.bz2 gentoo-3791ad536e966dab33f62614f16b224fd10bf6a2.zip |
app-arch/xz-utils: disable ifunc w/ asan
See https://github.com/tukaani-project/xz/issues/62.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/xz-utils/xz-utils-9999.ebuild | 6 |
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[@]}" } |