From d71a6d614a9f4740f1cc57acda418e5baadf1058 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 14 Sep 2023 15:04:17 +0200 Subject: [PATCH] Unset LLVM_VERSION_SUFFIX for compat builds as well This is needed if the compat build is produced for an rc version, which I'm currently trying to do to fix snapshot builds. I don't see a reason why this bit should be omitted for snapshot builds. --- llvm.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm.spec b/llvm.spec index 19e4ee0..80737bd 100644 --- a/llvm.spec +++ b/llvm.spec @@ -344,9 +344,7 @@ export ASMFLAGS="%{build_cflags}" %if %{with snapshot_build} -DLLVM_VERSION_SUFFIX="%{llvm_snapshot_version_suffix}" \ %else -%if %{without compat_build} -DLLVM_VERSION_SUFFIX='' \ -%endif %endif -DLLVM_UNREACHABLE_OPTIMIZE:BOOL=ON \ -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \