]> git.pld-linux.org Git - packages/llvm.git/commitdiff
disable memory profiling runtime on x32
authorJan Palus <atler@pld-linux.org>
Wed, 1 Jun 2022 08:35:39 +0000 (10:35 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 1 Jun 2022 08:35:39 +0000 (10:35 +0200)
llvm.spec

index 68eeda221464770afe0cf7736eb897acc9b34968..2b2073bccdb294f8268e74f4bed343f748058f28 100644 (file)
--- a/llvm.spec
+++ b/llvm.spec
@@ -753,7 +753,12 @@ export LDFLAGS="%{rpmldflags} -Wl,--reduce-memory-overheads"
 %if %{with polly}
        %{cmake_on_off target_nvptx POLLY_ENABLE_GPGPU_CODEGEN} \
 %endif
-       -DSPHINX_WARNINGS_AS_ERRORS=OFF
+       -DSPHINX_WARNINGS_AS_ERRORS=OFF \
+%if %{with rt}
+%ifarch x32
+       -DCOMPILER_RT_BUILD_MEMPROF:BOOL=OFF
+%endif
+%endif
 
 %{__make} \
        VERBOSE=1 \
This page took 0.104173 seconds and 4 git commands to generate.