[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Compiler flags: upstream or Fedora ?



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]