[Build-common-hackers] CFLAGS env

Robert Millan zeratul2@wanadoo.es
Tue, 2 Dec 2003 02:41:48 +0100

On Mon, Dec 01, 2003 at 08:29:18PM -0500, Dan Weber wrote:
> Which variable do I need to change so I can set different CFLAGS than the
> defaults ones when useing the following rules file.
> include /usr/share/cdbs/1/rules/tarball.mk
> include /usr/share/cdbs/1/rules/debhelper.mk
> include /usr/share/cdbs/1/class/makefile.mk
> include /usr/share/cdbs/1/rules/simple-patchsys.mk

AFAIK cdbs should honor CFLAGS if you define it. If it doesn't, look at
makefile-vars.mk which is probably the responsible for modifiing it.

Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T, Ainulindale (Silmarillion)