Port compiler-rt changes

From: f0ee285ff1
This commit is contained in:
Nikita Popov 2024-07-31 12:45:09 +00:00
parent 2d1a77d42a
commit 12705645df
2 changed files with 1 additions and 5 deletions

View file

@ -82,19 +82,15 @@ popd
\
\
\
%if %{without compat_build}
-DLLVM_ENABLE_RUNTIMES="compiler-rt;openmp;offload" \
%endif
\
\
\
\
\
%if %{without compat_build}
-DCOMPILER_RT_INSTALL_PATH=%{_prefix}/lib/clang/%{maj_ver} \
-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON \
-DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF \
%endif
\
\
\

View file

@ -113,7 +113,7 @@
%if %{without compat_build}
%global pkg_name_compiler_rt compiler-rt
%global pkg_name_compiler_rt compiler-rt%{pkg_suffix}
# TODO(kkleine): do these optflags hurt llvm and/or clang?