mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
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:
parent
42f0678d02
commit
5c9d2ed3ea
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user