From ec9c454eaf4b6bd79a058dea1e2cfd8d1958ba4dbcb98f7bea897a597622af64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 26 May 2015 17:23:06 +0000 Subject: [PATCH] Accepting request 308723 from home:oertel:branches:devel:tools:compiler - fix build on s390x (one typo in ifarch and one change in filelist) OBS-URL: https://build.opensuse.org/request/show/308723 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=415 --- llvm.changes | 5 +++++ llvm.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/llvm.changes b/llvm.changes index 2bb85fa..d07a36f 100644 --- a/llvm.changes +++ b/llvm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 26 11:54:49 CEST 2015 - ro@suse.de + +- fix build on s390x (one typo in ifarch and one change in filelist) + ------------------------------------------------------------------- Mon May 25 13:59:37 UTC 2015 - idonmez@suse.com diff --git a/llvm.spec b/llvm.spec index a70697a..69184fc 100644 --- a/llvm.spec +++ b/llvm.spec @@ -213,7 +213,7 @@ sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"PowerPC"',g ../cmake/modules/AddLLVM.cmak %define host_triple powerpc64le-suse-linux sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"PowerPC"',g ../cmake/modules/AddLLVM.cmake %endif -%ifarch 390x +%ifarch s390x %define host_triple s390x-suse-linux sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"SystemZ"',g ../cmake/modules/AddLLVM.cmake %endif @@ -490,7 +490,9 @@ EOF %{_libdir}/LLVMgold.so %{_libdir}/bfd-plugins/ %{_libdir}/clang +%ifnarch s390x %{_libdir}/clang/%{_release_version}/lib/linux/ +%endif %files -n libclang %defattr(-,root,root,-)