diff --git a/libcxx.spec b/libcxx.spec index 262d04f..f2f5866 100644 --- a/libcxx.spec +++ b/libcxx.spec @@ -9,7 +9,7 @@ Name: libcxx Version: %{libcxx_version}%{?rc_ver:~rc%{rc_ver}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ standard library targeting C++11 License: MIT or NCSA URL: http://libcxx.llvm.org/ @@ -102,9 +102,21 @@ common_cmake_flags="\ %cmake_build -# Copy result libc++.a +# Manually link libc++.a against libc++abi.a, because the libcxx build system is currently +# broken when system-libcxxabi is used. +# Also place libc++.a into results-static so we can install it later. +LIBCXX_A=`find $PWD -name libc++.a` mkdir results-static -find . -name libc++.a -exec cp {} ./results-static \; +pushd results-static +ar -M < - 15.0.0-2 +- Link libc++.a against libc++abi.a + * Thu Sep 08 2022 Nikita Popov - 15.0.0-1 - Update to LLVM 15.0.0