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@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@gentoo.org>
This commit is contained in:
Michal Rostecki 2025-08-30 12:54:57 +02:00 committed by Sam James
parent 42f0678d02
commit 5c9d2ed3ea
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
5 changed files with 5 additions and 15 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"