summaryrefslogtreecommitdiff
path: root/scripts/makefile.freebsd
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.freebsd
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.freebsd')
-rw-r--r--scripts/makefile.freebsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makefile.freebsd b/scripts/makefile.freebsd
index 0243c952a..2f2f1dda6 100644
--- a/scripts/makefile.freebsd
+++ b/scripts/makefile.freebsd
@@ -27,7 +27,7 @@ SYMLINKS= libpng/png.h ${INCSDIR}/../png.h \
LDADD+= -lm -lz
DPADD+= ${LIBM} ${LIBZ}
-CFLAGS+= -I.
+CFLAGS+= -DPNG_CONFIGURE_LIBPNG -I.
SRCS= png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \
pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \