From 4eb9324ef8f6cc3e049dfd38c4acf2e2230cb5cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 31 Aug 2026 11:38:51 +0200 Subject: [PATCH] llvm-runtimes/openmp-spirv64-intel: Strip -frecord-gcc-switches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/981726 Signed-off-by: Michał Górny --- .../openmp-spirv64-intel/openmp-spirv64-intel-23.1.0.ebuild | 2 ++ .../openmp-spirv64-intel-24.0.0.9999.ebuild | 2 ++ 2 files changed, 4 insertions(+) diff --git a/llvm-runtimes/openmp-spirv64-intel/openmp-spirv64-intel-23.1.0.ebuild b/llvm-runtimes/openmp-spirv64-intel/openmp-spirv64-intel-23.1.0.ebuild index a79c097e2fdf9..355f59c49595f 100644 --- a/llvm-runtimes/openmp-spirv64-intel/openmp-spirv64-intel-23.1.0.ebuild +++ b/llvm-runtimes/openmp-spirv64-intel/openmp-spirv64-intel-23.1.0.ebuild @@ -30,6 +30,8 @@ src_configure() { local triple=${PN#openmp-} filter-flags '-m*' strip-unsupported-flags + # incompatible with the spirv target, https://bugs.gentoo.org/981726 + filter-flags -frecord-gcc-switches # https://github.com/llvm/llvm-project/issues/186598 filter-ldflags '-Wl,*' diff --git a/llvm-runtimes/openmp-spirv64-intel/openmp-spirv64-intel-24.0.0.9999.ebuild b/llvm-runtimes/openmp-spirv64-intel/openmp-spirv64-intel-24.0.0.9999.ebuild index ac3edb81c90f9..b4ca394e780ea 100644 --- a/llvm-runtimes/openmp-spirv64-intel/openmp-spirv64-intel-24.0.0.9999.ebuild +++ b/llvm-runtimes/openmp-spirv64-intel/openmp-spirv64-intel-24.0.0.9999.ebuild @@ -29,6 +29,8 @@ src_configure() { local triple=${PN#openmp-} filter-flags '-m*' strip-unsupported-flags + # incompatible with the spirv target, https://bugs.gentoo.org/981726 + filter-flags -frecord-gcc-switches # https://github.com/llvm/llvm-project/issues/186598 filter-ldflags '-Wl,*'