From 7fb3a58a392a84bc577f602352d3350e2896805c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 4 Mar 2024 01:22:34 +0100 Subject: [PATCH] dev-util/wasm3: filter lto and strict-aliasing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/925933 Signed-off-by: Maciej Barć --- dev-util/wasm3/wasm3-0.5.0.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-util/wasm3/wasm3-0.5.0.ebuild b/dev-util/wasm3/wasm3-0.5.0.ebuild index 316033c51925c..8ebb505db4650 100644 --- a/dev-util/wasm3/wasm3-0.5.0.ebuild +++ b/dev-util/wasm3/wasm3-0.5.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake flag-o-matic DESCRIPTION="A fast WebAssembly interpreter and the most universal WASM runtime" HOMEPAGE="https://github.com/wasm3/wasm3/" @@ -25,6 +25,10 @@ SLOT="0" DOCS=( README.md docs ) src_configure() { + # bug https://bugs.gentoo.org/925933 + filter-lto + append-flags -fno-strict-aliasing + local -a mycmakeargs=( -DBUILD_WASI=simple )