diff --git a/SPECS/llvm.spec b/SPECS/llvm.spec index bcae797..f7830c3 100644 --- a/SPECS/llvm.spec +++ b/SPECS/llvm.spec @@ -1,5 +1,5 @@ # Components enabled if supported by target architecture: -%ifarch %ix86 x86_64 +%ifarch %ix86 x86_64 %{arm} %bcond_without gold %else %bcond_with gold @@ -172,7 +172,7 @@ sed -i 's~@TOOLS_DIR@~%{llvm_bindir}~' %{SOURCE1} mkdir -p _build cd _build -%ifarch s390 %ix86 +%ifarch s390 %ix86 %{arm} # Decrease debuginfo verbosity to reduce memory consumption during final library linking %global optflags %(echo %{optflags} | sed 's/-g /-g1 /') %endif @@ -181,7 +181,7 @@ cd _build %cmake .. \ -DBUILD_SHARED_LIBS:BOOL=OFF \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -%ifarch s390 %ix86 +%ifarch s390 %ix86 %{arm} -DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \ %endif @@ -390,6 +390,9 @@ fi %{_libdir}/libLLVMTestingSupport.a %changelog +* Mon Jun 03 2019 Pablo Greco 7.0.1-1 +- Fix build on armhfp + * Fri Dec 14 2018 Tom Stellard - 7.0.1-1 - 7.0.1 Release