Compiler flags: upstream or Fedora ?
rc040203 at freenet.de
Mon Feb 2 09:32:30 UTC 2009
Aurélien Bompard wrote:
> Hi all,
> The packaging guidelines specify that packages should honor the
> system compilation flags.
>  https://fedoraproject.org/wiki/Packaging:Guidelines#Compiler_flags
> I'm currently packaging Spring, 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.
>  https://bugzilla.redhat.com/show_bug.cgi?id=478767
> What should I do ?
Change your package to use Fedora's flags.
More information about the devel