On Tue, Jan 24, 2006 at 04:31:21PM -0200, Nelson A. de Oliveira wrote:
> Today while testing if my package was building OK on pbuilder, I saw an
> error.
> 
> I have a makefile like this (I am putting here just the important part
> of it):
> 
> 
> ZDIR   = ../zlib
> PNGDIR = ../libpng
> CRELEASE = -O2
> CFLAGS = -I$(ZDIR) -I$(PNGDIR) -Wall $(CRELEASE)
> 
> .c$(O):
>         $(CC) $(CFLAGS) -c $<
> 
> Using this makefile, on the pdebuild log I can see:
> 
> gcc -g -Wall -O2 -c pngxread.c
> 
> However, changing all CFLAGS to CFLGS (just removed the A), it worked
> perfectly on a new pdebuild run:
> 
> gcc -I../zlib -I../libpng -Wall -O2 -c pngxread.c
> 
> Running the makefile outside pbuilder, it's compiled perfectly, without
> the need to change CFLAGS to something else.
> 
> If you think that it's important to see the full makefile and the source
> code, I can put on a place. Just say to me if you want.

It would be helpful to be able to reproduce the problem.

-- 
Matt

Attachment: signature.asc
Description: Digital signature

Reply via email to