On Tue, Apr 15, 2003 at 06:38:27AM -0300, Leo Costela Antunes wrote:
> I'm setting CFLAGS to -g in case the DEBUG build option is set but then
> running
> $(MAKE) CFLAGS=$(CFLAGS) 
> inside the build target results in overridden variables.
> From what I could find, the Makefile uses CFLAGS internally to store
> pkg-config output. Is there a way to tell Make to append to the CFLAGS
> variable?

In the Makefile, try "CFLAGS += -your_options".

Also, you can try "CFLAGS=$(CFLAGS) $(MAKE)" instead, as this will
less-rigidly override the settings inside the Makefile.

Christoph
-- 
Christoph Berg <[EMAIL PROTECTED]>, 0681/9657944
http://rw4.cs.uni-sb.de/~cb/
Universität des Saarlandes, Compiler Design Lab

Attachment: pgpJJ6WoTcCmK.pgp
Description: PGP signature

Reply via email to