commit: 5c9d2ed3ea7a700796266c844885f04a581a9f27 Author: Michal Rostecki <vadorovsky <AT> protonmail <DOT> com> AuthorDate: Sat Aug 30 10:54:57 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Aug 30 14:58:31 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c9d2ed3
llvm-runtimes/libgcc: Call `llvm_prepend_path` unconditionally This ebuild is meant for clang-only systems and therefore it doesn't provide the `clang` USE flag. Signed-off-by: Michal Rostecki <vadorovsky <AT> protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43605 Closes: https://github.com/gentoo/gentoo/pull/43605 Signed-off-by: Sam James <sam <AT> gentoo.org> llvm-runtimes/libgcc/libgcc-19.1.7-r1.ebuild | 4 +--- llvm-runtimes/libgcc/libgcc-20.1.8.ebuild | 4 +--- llvm-runtimes/libgcc/libgcc-21.1.0.ebuild | 4 +--- llvm-runtimes/libgcc/libgcc-22.0.0.9999.ebuild | 4 +--- llvm-runtimes/libgcc/libgcc-22.0.0_pre20250820.ebuild | 4 +--- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/llvm-runtimes/libgcc/libgcc-19.1.7-r1.ebuild b/llvm-runtimes/libgcc/libgcc-19.1.7-r1.ebuild index 3ae6287c30eb..43f839029236 100644 --- a/llvm-runtimes/libgcc/libgcc-19.1.7-r1.ebuild +++ b/llvm-runtimes/libgcc/libgcc-19.1.7-r1.ebuild @@ -58,9 +58,7 @@ src_configure() { # COMPILER_RT_BUILTINS_HIDE_SYMBOLS option - compatibility with libgcc requires # visibility of all symbols. - if use clang || use test; then - llvm_prepend_path -b "${LLVM_MAJOR}" - fi + llvm_prepend_path -b "${LLVM_MAJOR}" # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" diff --git a/llvm-runtimes/libgcc/libgcc-20.1.8.ebuild b/llvm-runtimes/libgcc/libgcc-20.1.8.ebuild index 310ed22721e8..0c4226b7d6d1 100644 --- a/llvm-runtimes/libgcc/libgcc-20.1.8.ebuild +++ b/llvm-runtimes/libgcc/libgcc-20.1.8.ebuild @@ -58,9 +58,7 @@ src_configure() { # COMPILER_RT_BUILTINS_HIDE_SYMBOLS option - compatibility with libgcc requires # visibility of all symbols. - if use clang || use test; then - llvm_prepend_path -b "${LLVM_MAJOR}" - fi + llvm_prepend_path -b "${LLVM_MAJOR}" # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" diff --git a/llvm-runtimes/libgcc/libgcc-21.1.0.ebuild b/llvm-runtimes/libgcc/libgcc-21.1.0.ebuild index d8f4a13dc4aa..3096ab6b6c79 100644 --- a/llvm-runtimes/libgcc/libgcc-21.1.0.ebuild +++ b/llvm-runtimes/libgcc/libgcc-21.1.0.ebuild @@ -58,9 +58,7 @@ src_configure() { # COMPILER_RT_BUILTINS_HIDE_SYMBOLS option - compatibility with libgcc requires # visibility of all symbols. - if use clang || use test; then - llvm_prepend_path -b "${LLVM_MAJOR}" - fi + llvm_prepend_path -b "${LLVM_MAJOR}" # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" diff --git a/llvm-runtimes/libgcc/libgcc-22.0.0.9999.ebuild b/llvm-runtimes/libgcc/libgcc-22.0.0.9999.ebuild index eebc5d612900..093c756cc032 100644 --- a/llvm-runtimes/libgcc/libgcc-22.0.0.9999.ebuild +++ b/llvm-runtimes/libgcc/libgcc-22.0.0.9999.ebuild @@ -57,9 +57,7 @@ src_configure() { # COMPILER_RT_BUILTINS_HIDE_SYMBOLS option - compatibility with libgcc requires # visibility of all symbols. - if use clang || use test; then - llvm_prepend_path -b "${LLVM_MAJOR}" - fi + llvm_prepend_path -b "${LLVM_MAJOR}" # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" diff --git a/llvm-runtimes/libgcc/libgcc-22.0.0_pre20250820.ebuild b/llvm-runtimes/libgcc/libgcc-22.0.0_pre20250820.ebuild index eebc5d612900..093c756cc032 100644 --- a/llvm-runtimes/libgcc/libgcc-22.0.0_pre20250820.ebuild +++ b/llvm-runtimes/libgcc/libgcc-22.0.0_pre20250820.ebuild @@ -57,9 +57,7 @@ src_configure() { # COMPILER_RT_BUILTINS_HIDE_SYMBOLS option - compatibility with libgcc requires # visibility of all symbols. - if use clang || use test; then - llvm_prepend_path -b "${LLVM_MAJOR}" - fi + llvm_prepend_path -b "${LLVM_MAJOR}" # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
