From d71a6d614a9f4740f1cc57acda418e5baadf1058 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sep 14 2023 13:04:17 +0000 Subject: 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. --- diff --git a/llvm.spec b/llvm.spec index 19e4ee0..80737bd 100644 --- a/llvm.spec +++ b/llvm.spec @@ -344,10 +344,8 @@ 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 \ -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \