From 4d7ca26805cb6beccb9e94c3f1a8964a966735d2 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 15 Jun 2025 03:16:18 +0100 Subject: llvm-core/llvm: drop obsolete ppc workaround The fix has been backported to all applicable GCC branches for some time now. Bug: https://bugs.gentoo.org/880677 Signed-off-by: Sam James --- llvm-core/llvm/llvm-16.0.6-r5.ebuild | 5 ----- 1 file changed, 5 deletions(-) (limited to 'llvm-core/llvm/llvm-16.0.6-r5.ebuild') diff --git a/llvm-core/llvm/llvm-16.0.6-r5.ebuild b/llvm-core/llvm/llvm-16.0.6-r5.ebuild index fd12854df95b..de8cee98eb23 100644 --- a/llvm-core/llvm/llvm-16.0.6-r5.ebuild +++ b/llvm-core/llvm/llvm-16.0.6-r5.ebuild @@ -324,11 +324,6 @@ get_distribution_components() { } multilib_src_configure() { - if use ppc && tc-is-gcc && [[ $(gcc-major-version) -lt 14 ]]; then - # Workaround for bug #880677 - append-flags $(test-flags-CXX -fno-ipa-sra -fno-ipa-modref -fno-ipa-icf) - fi - # ODR violations (bug #917536, bug #926529). Just do it for GCC for now # to avoid people grumbling. GCC is, anecdotally, more likely to miscompile # LLVM with LTO anyway (which is not necessarily its fault). -- cgit v1.2.3