On Sun, 29 Sep 2013 12:38:25 -0400, Lars Kellogg-Stedman wrote:
[...] what the upstream Makefile
currently produces. I wasn't sure how invasive I should be in terms
of patching the upstream build process.
The build output is "silent" using '@' command invocations in the
Makefile.
Patching that confirmed that Fedora's compiler flags aren't used:
https://fedoraproject.org/wiki/Packaging:Guidelines#Compiler_flags
Nowadays, some packagers apply a trick similar to
%build
%configure || :
make …
or
%build
[ -f configure ] || touch configure ; chmod +x configure
%configure
make …
for exporting CFLAGS (and more) properly.