--- libpng-1.2.2/scripts/makefile.gcmmx.wiget Mon Apr 15 16:25:45 2002 +++ libpng-1.2.2/scripts/makefile.gcmmx Tue Apr 16 15:54:12 2002 @@ -27,8 +27,8 @@ # Where the zlib library and include files are located #ZLIBLIB=/usr/local/lib #ZLIBINC=/usr/local/include -ZLIBLIB=../zlib -ZLIBINC=../zlib +ZLIBLIB=/usr/lib +ZLIBINC= ALIGN= # for i386: @@ -42,8 +42,8 @@ # Remove -DPNG_THREAD_UNSAFE_OK if you need thread safety ### for generic gcc: -CFLAGS=-DPNG_THREAD_UNSAFE_OK -DPNG_USE_PNGGCCRD -I$(ZLIBINC) -Wall \ - -O3 $(ALIGN) -funroll-loops \ +CFLAGS=-DPNG_USE_PNGGCCRD -I$(ZLIBINC) -Wall \ + $(OPT_FLAGS) $(ALIGN) \ -fomit-frame-pointer # $(WARNMORE) -g -DPNG_DEBUG=5 ### for gcc 2.95.2 on 686: #CFLAGS=-DPNG_THREAD_UNSAFE_OK -DPNG_USE_PNGGCCRD -I$(ZLIBINC) -Wall -O3 \ --- libpng-1.2.2/scripts/makefile.linux.wiget Mon Apr 15 16:25:46 2002 +++ libpng-1.2.2/scripts/makefile.linux Tue Apr 16 15:48:37 2002 @@ -17,8 +17,8 @@ # Where the zlib library and include files are located #ZLIBLIB=/usr/local/lib #ZLIBINC=/usr/local/include -ZLIBLIB=../zlib -ZLIBINC=../zlib +ZLIBLIB=/usr/lib +ZLIBINC= ALIGN= # for i386: @@ -30,7 +30,7 @@ # for pgcc version 2.95.1, -O3 is buggy; don't use it. -CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops \ +CFLAGS=-I$(ZLIBINC) -Wall $(OPT_FLAGS) -funroll-loops \ $(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5 LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng12 -lz -lm