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.
This commit is contained in:
Nikita Popov 2023-09-14 15:04:17 +02:00
parent 2b59cd5563
commit d71a6d614a
1 changed files with 0 additions and 2 deletions

View File

@ -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 \