diff --git a/llvm-core/llvm/llvm-23.1.0.ebuild b/llvm-core/llvm/llvm-23.1.0.ebuild index 4612c8b5fb3eb..6a4092ea6e45b 100644 --- a/llvm-core/llvm/llvm-23.1.0.ebuild +++ b/llvm-core/llvm/llvm-23.1.0.ebuild @@ -388,6 +388,9 @@ multilib_src_configure() { # LLVM with LTO anyway (which is not necessarily its fault). tc-is-gcc && filter-lto + # https://github.com/llvm/llvm-project/issues/219693 + append-flags -fno-strict-aliasing + local ffi_cflags ffi_ldflags if use libffi; then ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi) diff --git a/llvm-core/llvm/llvm-24.0.0.9999.ebuild b/llvm-core/llvm/llvm-24.0.0.9999.ebuild index adc67333c68b0..f53515fafd1d5 100644 --- a/llvm-core/llvm/llvm-24.0.0.9999.ebuild +++ b/llvm-core/llvm/llvm-24.0.0.9999.ebuild @@ -387,6 +387,9 @@ multilib_src_configure() { # LLVM with LTO anyway (which is not necessarily its fault). tc-is-gcc && filter-lto + # https://github.com/llvm/llvm-project/issues/219693 + append-flags -fno-strict-aliasing + local ffi_cflags ffi_ldflags if use libffi; then ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi) diff --git a/llvm-core/llvm/llvm-24.0.0_pre20260725.ebuild b/llvm-core/llvm/llvm-24.0.0_pre20260725.ebuild index ab1a35bdebcea..c6831039007b6 100644 --- a/llvm-core/llvm/llvm-24.0.0_pre20260725.ebuild +++ b/llvm-core/llvm/llvm-24.0.0_pre20260725.ebuild @@ -387,6 +387,9 @@ multilib_src_configure() { # LLVM with LTO anyway (which is not necessarily its fault). tc-is-gcc && filter-lto + # https://github.com/llvm/llvm-project/issues/219693 + append-flags -fno-strict-aliasing + local ffi_cflags ffi_ldflags if use libffi; then ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi)