[Build-common-hackers] CFLAGS env

Colin Walters walters@verbum.org
Mon, 01 Dec 2003 23:53:09 -0500


--=-0KmWgNWBzOTNZOeMmSCW
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2003-12-01 at 21:29, Dan Weber wrote:

> It did not seem to honor CFLAGS unforteunetly.=20

That's true.  Perhaps we should have a variable $(DEB_USER_CFLAGS) which
would be appended to CFLAGS?  Or should it override them?

>  I lookeded at makefile-vars.mk
> and add the following line. =20
>=20
> DEB_MAKE_INVOKE :=3D $(DEB_MAKE_ENVVARS) \
>         make -C $(DEB_BUILDDIR) CFLAGS =3D '-O2 -Wall -Werror -g -I. -I..
> 	-I../charset `gtk-config --cflags`'
> However it is not using the line for reasons I do not know why. =20

Could I see your full rules file?  Did you add this line before or after
you included makefile-vars.mk?  It should be after.


--=-0KmWgNWBzOTNZOeMmSCW
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/zBqyOIkJWWp2WGURAuUBAJ9bjAzjP+/pp7rq/f4LS+Shw7InhQCfXmXw
4D4eQrFBgg5OVC7olYPX1zY=
=AO+N
-----END PGP SIGNATURE-----

--=-0KmWgNWBzOTNZOeMmSCW--