commit:     7fb3a58a392a84bc577f602352d3350e2896805c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  4 00:22:34 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 01:03:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fb3a58a

dev-util/wasm3: filter lto and strict-aliasing

Closes: https://bugs.gentoo.org/925933
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 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 316033c51925..8ebb505db465 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
        )

Reply via email to