Spec File: Use a different method to disable the annobin plugin
Resolves: #2054571
This commit is contained in:
parent
6e52b71f81
commit
076c03cf07
@ -178,9 +178,8 @@ hardening options.
|
||||
|
||||
%global ANNOBIN_GCC_PLUGIN_DIR %(gcc --print-file-name=plugin)
|
||||
|
||||
%{!?llvm_version:%global llvm_version 13.0.1}
|
||||
%{!?llvm_plugin_dir:%global llvm_plugin_dir %{_libdir}/llvm/%{llvm_version}}
|
||||
%{!?clang_plugin_dir:%global clang_plugin_dir %{_libdir}/clang/%{llvm_version}}
|
||||
%{!?llvm_plugin_dir:%global llvm_plugin_dir %{_libdir}/llvm/plugins}
|
||||
%{!?clang_plugin_dir:%global clang_plugin_dir %{_libdir}/clang/plugins}
|
||||
|
||||
%if %{with gccplugin}
|
||||
# The next line has been stolen from redhat-rpm-config.spec.
|
||||
|
Loading…
Reference in New Issue
Block a user