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,*'