From 93d7a12727386d3230946ed019407499ec5e407a Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mar 02 2017 01:46:09 +0000 Subject: compiler-rt: fix build --- diff --git a/compiler-rt.spec b/compiler-rt.spec index b6d0ba9..94ece1f 100644 --- a/compiler-rt.spec +++ b/compiler-rt.spec @@ -28,6 +28,11 @@ cd _build -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DLLVM_CONFIG_PATH:FILEPATH=%{_bindir}/llvm-config-%{__isa_bits} \ \ +%if 0%{?__isa_bits} == 64 + -DLLVM_LIBDIR_SUFFIX=64 \ +%else + -DLLVM_LIBDIR_SUFFIX= \ +%endif -DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF # could be on? make %{?_smp_mflags}