On Wednesday 22 April 2009, 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 [...] I would make this less %configure centric, maybe something like: ... correct compiler flags if you use a macro that automatically sets them to build the package, such as %configure or %cmake (check macro contents with "rpm -E %somemacro" while redhat-rpm-config and the package possibly providing the macro in /etc/rpm/* is installed if unsure whether a macro sets them). If there are no such macros that would apply to your package, the de facto standard is that ... > make CFLAGS=%{optflags} all This bit needs quotes around %{optflags}. -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list