Skip to content

Commit 53a5f37

Browse files
direc85rubdos
authored andcommitted
Fix compiling clang on i486
This is a first-thing-that-worked patch to fix compiler error: > ninja: error: '/usr/lib64/libz.so', needed by 'bin/clang-tblgen', > missing and no known rule to make it Apparently it doesn't work on i486, likely due to cross compilation.
1 parent 024a5c8 commit 53a5f37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpm/clang.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ pushd build
153153
%endif
154154
-DCLANG_INCLUDE_TESTS:BOOL=OFF \
155155
-DLLVM_MAIN_SRC_DIR=%{_datadir}/llvm/src \
156-
%if 0%{?__isa_bits} == 64
156+
%ifarch aarch64
157157
-DLLVM_LIBDIR_SUFFIX=64 \
158158
%else
159159
-DLLVM_LIBDIR_SUFFIX= \

0 commit comments

Comments
 (0)