summaryrefslogtreecommitdiff
path: root/scripts/makefile.acorn
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.acorn
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.acorn')
-rw-r--r--scripts/makefile.acorn2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makefile.acorn b/scripts/makefile.acorn
index a0e577b24..e2630d733 100644
--- a/scripts/makefile.acorn
+++ b/scripts/makefile.acorn
@@ -2,7 +2,7 @@
# Toolflags:
-CCflags = -c -depend !Depend -IC:,Zlib: -g -throwback -DRISCOS -fnah
+CCflags = -DPNG_CONFIGURE_LIBPNG -c -depend !Depend -IC:,Zlib: -g -throwback -DRISCOS -fnah
C++flags = -c -depend !Depend -IC: -throwback
Linkflags = -aif -c++ -o $@
ObjAsmflags = -throwback -NoCache -depend !Depend