From: Jan Palus Date: Wed, 1 Jun 2022 08:35:39 +0000 (+0200) Subject: disable memory profiling runtime on x32 X-Git-Tag: auto/th/llvm-14.0.4-1~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fllvm.git;a=commitdiff_plain;h=cfaa316;hp=90b20139d8eb8102d0ae8d5b3ed0ff589f44a3c1 disable memory profiling runtime on x32 --- diff --git a/llvm.spec b/llvm.spec index 68eeda2..2b2073b 100644 --- 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 \