From 077aa3006674b2ea3f5657b491a9b025f714c5c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Tue, 5 Mar 2024 13:00:20 +0100 Subject: [PATCH] Using llvm ld causes 'LLVM ERROR: out of memory' errors on 32bit, so use standard linker --- mysql.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mysql.spec b/mysql.spec index 9b19edb..2d0d665 100644 --- a/mysql.spec +++ b/mysql.spec @@ -508,6 +508,9 @@ cd build CPPFLAGS="%{rpmcppflags}" \ %cmake .. \ +%if "%{_lib}" != "lib64" + -DUSE_LD_LLD=off \ +%endif -DCMAKE_EXECUTABLE_SUFFIX=string:%{majorver} \ -DCMAKE_BUILD_TYPE=%{!?debug:RelWithDebInfo}%{?debug:Debug} \ -DCMAKE_C_FLAGS_RELWITHDEBINFO="%{rpmcflags} -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing" \ -- 2.44.0