diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-11-07 10:50:29 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-11-07 10:50:29 -0600 |
commit | 58c4f6b355bdcf676520989214143329c9a5cf05 (patch) | |
tree | 637eb45801869853da093750fa92427bcb01ba20 /scripts/makefile.bor | |
parent | d29033f2640bcc056876b523ddd35de6de93922f (diff) | |
download | libpng-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.bor | 2 |
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) |