[PATCH] Makefile: improve dependency generation
Ben Boeckel
mathstuf at gmail.com
Sat Nov 17 17:16:23 CET 2012
On Thu, Nov 15, 2012 at 03:40:52 GMT, Jamie Couture wrote:
> rpmbuild will strip (debugging) symbols. I'm not sure about deb packaging;
> I'm also not sure about *bsd. Regardless, I'll remove the append
> condition, +=
>
> CFLAGS = [default options]
No, please keep the '+='. RPM (and other tools I imagine) set CFLAGS in
the environment and usually pass them to make as well for Makefile-only
projects and expect the build system to use those as well. Fedora passes
-O2, so it should still get a release build (with debugging
information).
--Ben
More information about the CGit
mailing list