[Build-common-hackers] CFLAGS and implicit rules
Fri, 09 Apr 2004 15:04:24 -0400
On Fri, 2004-04-09 at 13:36, Tom Huckstep wrote:
> Colin Walters wrote:
> > On Fri, 2004-04-09 at 08:51, Tom Huckstep wrote:
> > > I've thought of "override CFLAGS +=3D3D $(UPSTREAM_CFLAGS)" but it's =
> > What's not nice about it?
> +=3D is not portable, for a start.
True. But all Debian systems have GNU make as "make".
> Upstream says:
> "The polipo makefile uses the XFree86 makefile conventions, in which
> CFLAGS contains all the flags passed to the C compiler. CDEBUGFLAGS,
> PLATFORM_DEFINES and EXTRA_DEFINES are what the user should customise.
Ick. Well, if you don't want to go patching the upstream Makefile, you
could probably override DEB_MAKE_INVOKE, e.g.:
DEB_MAKE_INVOKE =3D $(DEB_MAKE_ENVVARS) make -C $(DEB_BUILDDIR)
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
-----END PGP SIGNATURE-----