[packages/llvm] explicitly set LLVM_TARGET_ARCH

atler atler at pld-linux.org
Fri Jun 3 19:47:11 CEST 2022


commit 4cc5652a209c5acec04c0205e4cc0cfa2975433d
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Jun 3 19:46:36 2022 +0200

    explicitly set LLVM_TARGET_ARCH

 llvm.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/llvm.spec b/llvm.spec
index a1f1627..d689558 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -758,6 +758,7 @@ export LDFLAGS="%{rpmldflags} -Wl,--reduce-memory-overheads"
 	-DLLVM_LIBDIR_SUFFIX:STRING=x32 \
 %endif
 	-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
+	-DLLVM_TARGET_ARCH:STRING=%{_target_base_arch} \
 	-DLLVM_DEFAULT_TARGET_TRIPLE:STRING=%{_target_platform} \
 %if %{with lowmem}
 	-DLLVM_PARALLEL_LINK_JOBS:STRING=1 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/4cc5652a209c5acec04c0205e4cc0cfa2975433d



More information about the pld-cvs-commit mailing list