From de5c932283c8ff0484ecfc2fb7d05490ab540133 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Wed, 25 Nov 2009 08:51:04 -0600 Subject: [master] Disabled the new pedantic warnings about deprecated function use and deprecated structure access unless the user defines PNG_PEDANTIC_WARNINGS. Added "#define PNG_NO_PEDANTIC_WARNINGS" in the libpng source files. Removed "-DPNG_CONFIGURE_LIBPNG" from the makefiles and projects since the warnings no longer depend on this. --- scripts/makefile.mips | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/makefile.mips') diff --git a/scripts/makefile.mips b/scripts/makefile.mips index 8765066a9..2c7082dec 100644 --- a/scripts/makefile.mips +++ b/scripts/makefile.mips @@ -22,8 +22,8 @@ LIBPATH=$(prefix)/lib DESTDIR= CC=cc -CFLAGS=-DPNG_CONFIGURE_LIBPNG -I../zlib -O -systype sysv -DSYSV -w -Dmips -#CFLAGS=-DPNG_CONFIGURE_LIBPNG -O +CFLAGS=-I../zlib -O -systype sysv -DSYSV -w -Dmips +#CFLAGS=-O LDFLAGS=-L. -L../zlib/ -lpng -lz -lm #RANLIB=ranlib -- cgit v1.2.1