Skip to content

Commit

Permalink
[llvm] Specify libdir suffix for 64 bit archs. Contributes to JB#49681
Browse files Browse the repository at this point in the history
  • Loading branch information
xfade committed May 20, 2020
1 parent 6b2357d commit 424a3dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitmodules
@@ -1,3 +1,3 @@
[submodule "llvm"]
path = llvm
url = https://git.sailfishos.org/mirror/llvm-project.git
url = https://github.com/sailfishos-mirror/llvm-project.git
5 changes: 5 additions & 0 deletions rpm/llvm.spec
Expand Up @@ -58,6 +58,11 @@ pushd build
-DCMAKE_INSTALL_RPATH=";" \
-DCMAKE_C_FLAGS="%{optflags} -DNDEBUG" \
-DCMAKE_CXX_FLAGS="%{optflags} -DNDEBUG" \
%if 0%{?__isa_bits} == 64
-DLLVM_LIBDIR_SUFFIX=64 \
%else
-DLLVM_LIBDIR_SUFFIX= \
%endif
-DLLVM_BUILD_DOCS:BOOL=OFF \
-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
-DLLVM_BUILD_RUNTIME:BOOL=OFF \
Expand Down

0 comments on commit 424a3dd

Please sign in to comment.