Remove %elif no which is unsupported on RHEL8

This commit is contained in:
Konrad Kleine 2024-10-09 11:45:24 +02:00
parent 2e5951b0d7
commit 025b6c75da

View file

@ -976,9 +976,11 @@ popd
%if %{with snapshot_build} %if %{with snapshot_build}
%global cmake_config_args %{cmake_config_args} -DLLVM_VERSION_SUFFIX="%{llvm_snapshot_version_suffix}" %global cmake_config_args %{cmake_config_args} -DLLVM_VERSION_SUFFIX="%{llvm_snapshot_version_suffix}"
%elif %{without compat_build} %else
%if %{without compat_build}
%global cmake_config_args %{cmake_config_args} -DLLVM_VERSION_SUFFIX='' %global cmake_config_args %{cmake_config_args} -DLLVM_VERSION_SUFFIX=''
%endif %endif
%endif
%ifarch x86_64 %ifarch x86_64
%global cmake_config_args %{cmake_config_args} -DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -Wl,-z,cet-report=error" %global cmake_config_args %{cmake_config_args} -DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -Wl,-z,cet-report=error"