Compiler flags: upstream or Fedora ?

Ralf Corsepius rc040203 at freenet.de
Mon Feb 2 09:32:30 UTC 2009


Aurélien Bompard wrote:
> Hi all,
> 
> The packaging guidelines specify[1] that packages should honor the
> system compilation flags.
> 
> [1] https://fedoraproject.org/wiki/Packaging:Guidelines#Compiler_flags
> 
> I'm currently packaging Spring[2], whose build system purposefully
> ignores the CFLAGS and CXXFLAGS environment variables. This is in the
> build script:
> # Do not do this [use env vars] anymore because it may severely mess
> up our carefully selected options.
> # Print a warning and ignore them instead.
> 
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=478767
> 
> What should I do ?
Change your package to use Fedora's flags.

Ralf




More information about the devel mailing list