Added -DPNG_CONFIGURE_LIBPNG to the makefile CFLAGS

to prevent warnings about direct access to png structs by libpng functions
while building libpng.  They need to be tested, especially
those using compilers other than gcc.
This commit is contained in:
Glenn Randers-Pehrson
2009-11-07 10:50:29 -06:00
parent d29033f264
commit 58c4f6b355
41 changed files with 50 additions and 50 deletions

View File

@@ -13,7 +13,7 @@ INCPATH=$(prefix)/include
LIBPATH=$(prefix)/lib
CC=gcc
CFLAGS=-I../zlib -O
CFLAGS=-DPNG_CONFIGURE_LIBPNG -I../zlib -O
LDFLAGS=-L. -L../zlib/ -lpng -lz -lm
RANLIB=ranlib