From cfaa3167d5c03c40251520fe6b9c1ef0082ffbd4 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Wed, 1 Jun 2022 10:35:39 +0200 Subject: [PATCH] disable memory profiling runtime on x32 --- llvm.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 \ -- 2.43.0