diff options
Diffstat (limited to 'sys-devel/clang/clang-16.0.0_pre20221217.ebuild')
-rw-r--r-- | sys-devel/clang/clang-16.0.0_pre20221217.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys-devel/clang/clang-16.0.0_pre20221217.ebuild b/sys-devel/clang/clang-16.0.0_pre20221217.ebuild index 45441bad73b4..f6ba41a7913a 100644 --- a/sys-devel/clang/clang-16.0.0_pre20221217.ebuild +++ b/sys-devel/clang/clang-16.0.0_pre20221217.ebuild @@ -16,7 +16,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA MIT" SLOT="${LLVM_MAJOR}/${LLVM_SOABI}" KEYWORDS="~loong" -IUSE="debug doc +extra +pie +static-analyzer test xml" +IUSE="debug doc +extra ieee-long-double +pie +static-analyzer test xml" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )" @@ -273,6 +273,13 @@ multilib_src_configure() { -DPython3_EXECUTABLE="${PYTHON}" ) + + if use ppc64 && ! use elibc_musl; then + mycmakeargs+=( + -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=$(usex ieee-long-double) + ) + fi + use test && mycmakeargs+=( -DLLVM_BUILD_TESTS=ON -DLLVM_LIT_ARGS="$(get_lit_flags)" |