[devel] Added "$(ARCH)" option to makefile.darwin

This commit is contained in:
Glenn Randers-Pehrson
2011-08-29 07:22:13 -05:00
parent 4ae297867d
commit b293334e7a
3 changed files with 8 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
Libpng 1.5.5beta07 - August 26, 2011 Libpng 1.5.5beta07 - August 29, 2011
This is not intended to be a public release. It will be replaced This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version. within a few weeks by a public version or by another test version.
@@ -79,7 +79,8 @@ Version 1.5.5beta06 [August 26, 2011]
than correctness.) The code still has considerable inaccuracies in the than correctness.) The code still has considerable inaccuracies in the
8-bit case because 8-bit linear arithmetic is used. 8-bit case because 8-bit linear arithmetic is used.
Version 1.5.5beta07 [August 26, 2011] Version 1.5.5beta07 [August 29, 2011]
Added "$(ARCH)" option to makefile.darwin
Send comments/corrections/commendations to png-mng-implement at lists.sf.net: Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit (subscription required; visit

View File

@@ -1,5 +1,4 @@
#if 0 #if 0
libpng_changes(){ /*
CHANGES - changes for libpng CHANGES - changes for libpng
Version 0.2 Version 0.2
@@ -3563,7 +3562,8 @@ Version 1.5.5beta06 [August 26, 2011]
than correctness.) The code still has considerable inaccuracies in the than correctness.) The code still has considerable inaccuracies in the
8-bit case because 8-bit linear arithmetic is used. 8-bit case because 8-bit linear arithmetic is used.
Version 1.5.5beta07 [August 26, 2011] Version 1.5.5beta07 [August 29, 2011]
Added "$(ARCH)" option to makefile.darwin
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit
@@ -3572,5 +3572,4 @@ to subscribe)
or to glennrp at users.sourceforge.net or to glennrp at users.sourceforge.net
Glenn R-P Glenn R-P
*/ }
#endif #endif

View File

@@ -37,10 +37,11 @@ MKDIR_P=mkdir -p
LN_SF=ln -sf LN_SF=ln -sf
RANLIB=ranlib RANLIB=ranlib
RM_F=/bin/rm -f RM_F=/bin/rm -f
ARCH=-arch i386
# CFLAGS=-I$(ZLIBINC) -W -Wall -O3 -funroll-loops # CFLAGS=-I$(ZLIBINC) -W -Wall -O3 -funroll-loops
CFLAGS=-I$(ZLIBINC) -W -Wall -O -funroll-loops CFLAGS=-I$(ZLIBINC) -W -Wall -O -funroll-loops $(ARCH)
LDFLAGS=-L. -L$(ZLIBLIB) -lpng15 -lz LDFLAGS=-L. -L$(ZLIBLIB) -lpng15 -lz $(ARCH)
INCPATH=$(prefix)/include INCPATH=$(prefix)/include
LIBPATH=$(exec_prefix)/lib LIBPATH=$(exec_prefix)/lib