On Tue, 2009-04-21 at 16:35 -0700, Toshio Kuratomi wrote:
Proposed additional paragraph:
"""
Most C, C++, and Fortran programs will pick up the correct compiler
flags from the %configure macro. If your program does not use
%configure the de facto standard is that C compiler flags are picked up
via the CFLAGS make variable, C++ Compiler flags via the CXXFLAGS
variable, and Fortran flags via FFLAGS. So, you could have something
like this in your spec file:
<pre>
make CFLAGS=%{optflags} all
</pre>
If the build still does not pick up the proper compiler flags, you will
have to look in the configure script or Makefiles to diagnose what's
going on.
"""
If you guys like this, I'll propose it to the Packaging Committee.
Looks good to me!
--
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca:
http://identi.ca/jkeating