Compiler flags: upstream or Fedora ?

Aurélien Bompard gauret at free.fr
Mon Feb 2 09:23:01 UTC 2009


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 ? Should I patch the build system to use our flags,
while upstream specifically not wanted me to ?

Thanks for your guidance

Aurélien
-- 
http://aurelien.bompard.org  ~~~~  Jabber : abompard at jabber.fr
"Millions long for immortality who do not know what to do with themselves
on a rainy Sunday afternoon." -- Susan Ertz




More information about the devel mailing list