Fix i686 build

This commit is contained in:
Nikita Popov 2022-09-07 16:57:23 +02:00
parent 71bc065af9
commit c55124d032

View File

@ -301,7 +301,12 @@ sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@//g' test/lit.cfg.py
%define _find_debuginfo_dwz_opts %{nil}
%endif
# TODO: Drop the HAVE_CXX_ATOMICS64_WITHOUT_LIB once clang15 is in the buildroot. It looks like
# previously clang emitted __atomic_load for std::atomic<double>, which is not detected by cmake.
%cmake -G Ninja \
%ifarch %ix86
-DHAVE_CXX_ATOMICS64_WITHOUT_LIB=OFF \
%endif
-DLLVM_PARALLEL_LINK_JOBS=1 \
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \