On Sun, Sep 18, 2016 at 4:51 PM, Dennis Payne <dulsi(a)identicalsoftware.com>
wrote:
On the page it says "These macros should be used as flags for
the
compiler or linker." If you must use those flags, the text should be
changed and you should link to it from other pages explaining how to
build rpms.
--
Dennis Payne
dulsi(a)identicalsoftware.com
Roon's Raccoon Sprintladder:
https://ideas.lego.com/projects/126010
_______________________________________________
Fedora Games SIG mailing list -- games(a)lists.fedoraproject.org
To unsubscribe send an email to games-leave(a)lists.fedoraproject.org
For packages which use automake or cmake, the %configure and %cmake macros
automatically inject the right compiler flags into the package at configure
time.
For packages which _don't_ use automake or cmake and just have a (usually
handwritten) makefile, though, you do need to pass %{optflags} in at build
time. I agree that the guidelines should be clearer here; I think at some
point in the past it was assumed most C/C++ packages would use automake or
have a similar configure script.
Anyway, this is my bad for not catching during review. :( Apologies!
Ben Rosser