]> git.pld-linux.org Git - packages/llvm.git/commitdiff
explicitly set LLVM_TARGET_ARCH
authorJan Palus <atler@pld-linux.org>
Fri, 3 Jun 2022 17:46:36 +0000 (19:46 +0200)
committerJan Palus <atler@pld-linux.org>
Fri, 3 Jun 2022 17:46:36 +0000 (19:46 +0200)
llvm.spec

index a1f1627dc86a5b11153c823e751fb50fb2356c40..d68955867286fb9bf6c2ca3136fbcc41ca98cc6a 100644 (file)
--- 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 \
This page took 0.066786 seconds and 4 git commands to generate.