1
0
mirror of https://github.com/glennrp/libpng.git synced 2025-08-09 00:22:10 +03:00

[devel] Removed "-DPNG_CONFIGURE_LIBPNG" from the makefiles and projects.

and added "#define PNG_NO_PEDANTIC_WARNINGS" in the libpng source files.
This commit is contained in:
Glenn Randers-Pehrson
2009-12-04 08:40:41 -06:00
parent ce96c3e6b7
commit 03f9b02953
63 changed files with 103 additions and 82 deletions

View File

@@ -46,7 +46,7 @@ ZLIBINC=/usr/local/include
WARNMORE=-Wwrite-strings -Wpointer-arith -Wshadow \
-Wmissing-declarations -Wtraditional -Wcast-align \
-Wstrict-prototypes -Wmissing-prototypes #-Wconversion
CFLAGS=-DPNG_CONFIGURE_LIBPNG -I$(ZLIBINC) -W -Wall -O \
CFLAGS=-I$(ZLIBINC) -W -Wall -O \
# $(WARNMORE) -g -DPNG_DEBUG=5
LDFLAGS=-L. -R. -L$(ZLIBLIB) -R$(ZLIBLIB) -lpng14 -lz -lm