From 1d1426fb42b19f9a4cde4cfa080d5272e8cfa850 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 23 Jan 2023 07:20:51 +0000 Subject: [PATCH] dev-libs/elfutils: Sync with Gentoo It's from Gentoo commit ead5f36b5dca164c24d1422a341a9e7226b38348. --- .../portage-stable/dev-libs/elfutils/elfutils-0.188.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/elfutils/elfutils-0.188.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/elfutils/elfutils-0.188.ebuild index 77b5fbb7fb..b47d779db7 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/elfutils/elfutils-0.188.ebuild +++ b/sdk_container/src/third_party/portage-stable/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[@]}" }