summaryrefslogtreecommitdiff
path: root/scripts/makefile.bor
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-11-07 10:50:29 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-11-07 10:50:29 -0600
commit58c4f6b355bdcf676520989214143329c9a5cf05 (patch)
tree637eb45801869853da093750fa92427bcb01ba20 /scripts/makefile.bor
parentd29033f2640bcc056876b523ddd35de6de93922f (diff)
downloadlibpng-58c4f6b355bdcf676520989214143329c9a5cf05.tar.gz
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.
Diffstat (limited to 'scripts/makefile.bor')
-rw-r--r--scripts/makefile.bor2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makefile.bor b/scripts/makefile.bor
index cabdf1409..696f8efe1 100644
--- a/scripts/makefile.bor
+++ b/scripts/makefile.bor
@@ -51,7 +51,7 @@ LDEBUG=$(LDEBUG) -N
# -w set all warnings on
# -O2 optimize for speed
# -Z global optimization
-CFLAGS=-O2 -Z -X- -w -I$(ZLIB_DIR) -$(TARGET_CPU) $(MODEL_ARG) $(CDEBUG)
+CFLAGS=-DPNG_CONFIGURE_LIBPNG -O2 -Z -X- -w -I$(ZLIB_DIR) -$(TARGET_CPU) $(MODEL_ARG) $(CDEBUG)
# -M generate map file
LDFLAGS=-M -L$(ZLIB_DIR) $(MODEL_ARG) $(LDEBUG)