diff --git a/SPECS/annobin.spec b/SPECS/annobin.spec index c55b355..7054771 100644 --- a/SPECS/annobin.spec +++ b/SPECS/annobin.spec @@ -25,13 +25,13 @@ URL: https://sourceware.org/annobin/ %bcond_with debuginfod # Use "--without clangplugin" to disable the building of the annobin plugin for Clang. -%bcond_without clangplugin +%bcond_with clangplugin # Use "--without gccplugin" to disable the building of the annobin plugin for GCC. %bcond_without gccplugin # Use "--without llvmplugin" to disable the building of the annobin plugin for LLVM. -%bcond_without llvmplugin +%bcond_with llvmplugin # Set this to zero to disable the requirement for a specific version of gcc. # This should only be needed if there is some kind of problem with the version @@ -225,6 +225,8 @@ CONFIG_ARGS="$CONFIG_ARGS --without-debuginfod" %if %{with clangplugin} CONFIG_ARGS="$CONFIG_ARGS --with-clang" +%else +CONFIG_ARGS="$CONFIG_ARGS --without-clang" %endif %if %{without gccplugin} @@ -233,6 +235,8 @@ CONFIG_ARGS="$CONFIG_ARGS --without-gcc-plugin" %if %{with llvmplugin} CONFIG_ARGS="$CONFIG_ARGS --with-llvm" +%else +CONFIG_ARGS="$CONFIG_ARGS --without-llvm" %endif %if %{without tests}