From 0eef7c3a9d072934c051b8e8bcd3774c3798223f Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 26 Oct 2016 09:58:55 +1000 Subject: [PATCH] compiler-rt: fix build --- compiler-rt.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler-rt.spec b/compiler-rt.spec index 67f1ba8..c2cc5aa 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}