- Stick to ld.lld on %{arm}: ld.bfd + LLVMgold.so doesn't work.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=6
This commit is contained in:
Aaron Puchert 2024-03-24 13:52:56 +00:00 committed by Git OBS Bridge
parent 697eceabb4
commit 76c5c0d6fa

View File

@ -41,8 +41,12 @@
%bcond_with openmp %bcond_with openmp
%endif %endif
# Always use ld.bfd for now because it produces a THP-compatible section layout. # Prefer ld.bfd for now because it produces a THP-compatible section layout.
%ifnarch %{arm}
%bcond_with use_lld %bcond_with use_lld
%else
%bcond_without use_lld
%endif
%ifarch aarch64 x86_64 %ifarch aarch64 x86_64
%bcond_without lldb %bcond_without lldb