diff options
Diffstat (limited to 'dev-libs/elfutils/elfutils-0.188.ebuild')
-rw-r--r-- | dev-libs/elfutils/elfutils-0.188.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-libs/elfutils/elfutils-0.188.ebuild b/dev-libs/elfutils/elfutils-0.188.ebuild index 77b5fbb7fbda..b47d779db744 100644 --- a/dev-libs/elfutils/elfutils-0.188.ebuild +++ b/dev-libs/elfutils/elfutils-0.188.ebuild @@ -1,4 +1,4 @@ -# Copyright 2003-2022 Gentoo Authors +# Copyright 2003-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -101,6 +101,10 @@ multilib_src_configure() { $(use_with zstd) ) + # Needed because sets alignment macro + is-flagq -fsanitize=address && myeconfargs+=( --enable-sanitize-address ) + is-flagq -fsanitize=undefined && myeconfargs+=( --enable-sanitize-undefined ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" } |