[packages/llvm] update compiler-rt triple for %{armv7}
atler
atler at pld-linux.org
Fri May 19 19:17:31 CEST 2023
commit 034750a103d5ce88bbf8d5809d7b403d670cb1af
Author: Jan Palus <jpalus at fastmail.com>
Date: Fri May 19 19:16:08 2023 +0200
update compiler-rt triple for %{armv7}
after changes from:
https://github.com/llvm/llvm-project/commit/bd6783b380768bd35f37e0034dccf6c5736dd031
llvm.spec | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index b6db5d6..41a1171 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -1184,11 +1184,19 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/clang/%{abi}/lib/aarch64-*linux/liborc_rt.a
%endif
%ifarch %{armv7}
-%{_libdir}/clang/%{abi}/lib/armhf-*linux%{_gnu}/clang_rt.*.o
-%{_libdir}/clang/%{abi}/lib/armhf-*linux%{_gnu}/libclang_rt.*.a
-%attr(755,root,root) %{_libdir}/clang/%{abi}/lib/armhf-*linux%{_gnu}/libclang_rt.*.so
-%{_libdir}/clang/%{abi}/lib/armhf-*linux%{_gnu}/libclang_rt.*.a.syms
-%{_libdir}/clang/%{abi}/lib/armhf-*linux%{_gnu}/liborc_rt.a
+%ifarch %{arm32_with_hf}
+%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}hf/clang_rt.*.o
+%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}hf/libclang_rt.*.a
+%attr(755,root,root) %{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}hf/libclang_rt.*.so
+%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}hf/libclang_rt.*.a.syms
+%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}hf/liborc_rt.a
+%else
+%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}/clang_rt.*.o
+%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}/libclang_rt.*.a
+%attr(755,root,root) %{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}/libclang_rt.*.so
+%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}/libclang_rt.*.a.syms
+%{_libdir}/clang/%{abi}/lib/arm-*linux%{_gnu}/liborc_rt.a
+%endif
%endif
%ifarch %{ix86} %{x8664} %{arm} aarch64 mips mips64 ppc64
%{_libdir}/clang/%{abi}/share/asan_ignorelist.txt
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/034750a103d5ce88bbf8d5809d7b403d670cb1af
More information about the pld-cvs-commit
mailing list