diff options
Diffstat (limited to 'sys-devel/llvm/llvm-17.0.0_rc4.ebuild')
-rw-r--r-- | sys-devel/llvm/llvm-17.0.0_rc4.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-devel/llvm/llvm-17.0.0_rc4.ebuild b/sys-devel/llvm/llvm-17.0.0_rc4.ebuild index 3b29671ea107..6bda0f273990 100644 --- a/sys-devel/llvm/llvm-17.0.0_rc4.ebuild +++ b/sys-devel/llvm/llvm-17.0.0_rc4.ebuild @@ -439,6 +439,13 @@ multilib_src_configure() { ) fi + # On Macos prefix, Gentoo doesn't split sys-libs/ncurses to libtinfo and + # libncurses, but llvm tries to use libtinfo before libncurses, and ends up + # using libtinfo (actually, libncurses.dylib) from system instead of prefix + use kernel_Darwin && mycmakeargs+=( + -DTerminfo_LIBRARIES=-lncurses + ) + # workaround BMI bug in gcc-7 (fixed in 7.4) # https://bugs.gentoo.org/649880 # apply only to x86, https://bugs.gentoo.org/650506 |