Defining build options based on available compiler version

Ville Skyttä ville.skytta at iki.fi
Sat Jul 30 17:05:12 UTC 2011


On 07/30/2011 07:44 PM, Jussi Lehtola wrote:

> Is there a way to check if the gcc version is sufficient with some rpm
> macro?

Do you actually need to have it as a macro?  Often cases like this can
be handled with plain shell code in %prep, %build, etc.  Or by patching
the build system to do the check automatically and sending the patch
upstream.


More information about the devel mailing list