Port compiler-rt changes

From: f0ee285ff1
This commit is contained in:
Nikita Popov 2024-07-31 12:45:09 +00:00 committed by Timm Bäder
parent 52ddcd59f5
commit 5868bd75d6
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" \ -DLLVM_ENABLE_RUNTIMES="compiler-rt;openmp;offload" \
%endif
\ \
\ \
\ \
\ \
\ \
%if %{without compat_build}
-DCOMPILER_RT_INSTALL_PATH=%{_prefix}/lib/clang/%{maj_ver} \ -DCOMPILER_RT_INSTALL_PATH=%{_prefix}/lib/clang/%{maj_ver} \
-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON \ -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON \
-DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF \ -DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF \
%endif
\ \
\ \
\ \

View file

@ -113,7 +113,7 @@
%if %{without compat_build} %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? # TODO(kkleine): do these optflags hurt llvm and/or clang?