From 1cdbd51efb8e1dc7892cd28656eb0520e9eaf38a7192f7f43be1be2d5df20665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 26 Sep 2014 11:04:48 +0000 Subject: [PATCH] - OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=388 --- llvm.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/llvm.spec b/llvm.spec index a8e081f..babadcb 100644 --- a/llvm.spec +++ b/llvm.spec @@ -319,9 +319,7 @@ ln -s lib lib64 # cmake files rm CMakeCache.txt cmake -G "Ninja" \ -%ifnarch ppc64 ppc64le -DBUILD_SHARED_LIBS=ON \ -%endif %ifarch %arm ppc64 ppc64le -DCMAKE_BUILD_TYPE=Release \ %else @@ -332,10 +330,12 @@ cmake -G "Ninja" \ %ifarch armv6hl -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ -DCMAKE_CXX_FLAGS="-mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" \ + -DLLVM_DEFAULT_TARGET_TRIPLE=armv6-unknown-linux-gnueabihf \ %endif %ifarch armv7hl -DCMAKE_C_FLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" \ -DCMAKE_CXX_FLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16" \ + -DLLVM_DEFAULT_TARGET_TRIPLE=armv7l-unknown-linux-gnueabihf \ %endif %if "%{_lib}" == "lib64" -DLLVM_LIBDIR_SUFFIX=64 \ @@ -519,9 +519,6 @@ rm %{buildroot}%{_mandir}/man1/lit.1 %exclude %{_libdir}/libclang.so %{_libdir}/libclang*.so %{_libdir}/libclang.so.* -%ifarch ppc64 ppc64le -%{_libdir}/libclang*.a -%endif %files clang-devel %defattr(-,root,root)