--- libcxxabi-11.0.0.mainline.ebuild 2020-11-30 16:18:52.000000000 -0600 +++ libcxxabi-11.0.0.mainline.ebuild 2020-12-01 23:17:55.000000000 -0600 @@ -5,6 +5,7 @@ CMAKE_ECLASS=cmake PYTHON_COMPAT=( python3_{6..9} ) +# prefix change might need flag-o-matic inherit cmake-multilib llvm llvm.org python-any-r1 toolchain-funcs DESCRIPTION="Low level support for a standard C++ library" @@ -16,7 +17,7 @@ LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="0" -KEYWORDS="amd64 arm arm64 x86" +KEYWORDS="amd64 arm arm64 x86 ~x64-macos" IUSE="+libunwind +static-libs test elibc_musl" RESTRICT="!test? ( test )" @@ -77,6 +78,20 @@ -DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}" ) fi + + # prefix change needed? + # make sure we build multilib on OSX, because llvm insists on + # building multilib too + #if [[ ${CHOST} == *86*-darwin* ]] ; then + # append-flags -arch i386 -arch x86_64 + # append-cxxflags -std=c++11 + # local mycmakeargs+=( + # # disable test for libstdc++ leaking in from LLVM cmake module - + # # apart from libcxx headers, libcxxabi is self-contained + # -DLLVM_ENABLE_LIBCXX=ON + # ) + #fi + cmake_src_configure }