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.freebsd | |
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.freebsd')
-rw-r--r-- | scripts/makefile.freebsd | 2 |
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 \ |