commit:     d633b1438957d5e504695cb2eb8cf1e95f8e0fa5
Author:     Sasha Finkelstein <fnkl.kernel <AT> gmail <DOT> com>
AuthorDate: Mon Jun  9 13:35:28 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 13 00:11:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d633b143

dev-util/llvm-mingw64: Filter out -mbranch-protection=

Closes: https://bugs.gentoo.org/957683
Signed-off-by: Sasha Finkelstein <fnkl.kernel <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42516
Closes: https://github.com/gentoo/gentoo/pull/42516
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/llvm-mingw64/llvm-mingw64-12.0.0.ebuild | 1 +
 dev-util/llvm-mingw64/llvm-mingw64-13.0.0.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-util/llvm-mingw64/llvm-mingw64-12.0.0.ebuild 
b/dev-util/llvm-mingw64/llvm-mingw64-12.0.0.ebuild
index 013b5556f50b..913a83d3d422 100644
--- a/dev-util/llvm-mingw64/llvm-mingw64-12.0.0.ebuild
+++ b/dev-util/llvm-mingw64/llvm-mingw64-12.0.0.ebuild
@@ -79,6 +79,7 @@ src_compile() {
 
        filter-flags '-fuse-ld=*'
        filter-flags '-mfunction-return=thunk*' #878849
+       filter-flags '-mbranch-protection=*' #957683
 
        use custom-cflags || filter-flags '-fstack-protector*' #931512
 

diff --git a/dev-util/llvm-mingw64/llvm-mingw64-13.0.0.ebuild 
b/dev-util/llvm-mingw64/llvm-mingw64-13.0.0.ebuild
index 8bb6d2fa7087..8e5f5dcf48d5 100644
--- a/dev-util/llvm-mingw64/llvm-mingw64-13.0.0.ebuild
+++ b/dev-util/llvm-mingw64/llvm-mingw64-13.0.0.ebuild
@@ -79,6 +79,7 @@ src_compile() {
 
        filter-flags '-fuse-ld=*'
        filter-flags '-mfunction-return=thunk*' #878849
+       filter-flags '-mbranch-protection=*' #957683
 
        use custom-cflags || filter-flags '-fstack-protector*' #931512
 

Reply via email to