From b44096bdc10fd0ec6e933dfdef029a81945a34be Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Thu, 3 Nov 2022 22:19:08 +0300 Subject: [PATCH] %{major_ver}.%{minor_ver} Versionize --- llvm.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index 2ccf2d0..ce437b1 100644 --- a/llvm.spec +++ b/llvm.spec @@ -399,7 +399,7 @@ done %endif %cmake \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS:BOOL=OFF \ -DLLVM_LIBDIR_SUFFIX=$(echo %{_lib} | sed -e 's,^lib,,') \ %if %{with clang} @@ -424,6 +424,8 @@ done -DPython3_EXECUTABLE=/usr/libexec/python3.8 \ -DPython3_SITELIB=//usr/lib/python3.8/site-packages +#-DCMAKE_BUILD_TYPE=RelWithDebInfo + %ifarch x86_64 amd64 %make -s %else