Bug#349699: [Pbuilder-maint] Bug#349699: pbuilder: CFLAGS is not
being interpreted correctly
Matt Kraai
kraai at ftbfs.org
Wed Jan 25 12:48:29 UTC 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20060125/0df9e918/attachment.pgp
More information about the Pbuilder-maint
mailing list