1 diff -Nru libpng-1.0.5/scripts/makefile.linux libpng-1.0.5.new/scripts/makefile.linux
2 --- libpng-1.0.5/scripts/makefile.linux Thu Oct 14 14:43:10 1999
3 +++ libpng-1.0.5.new/scripts/makefile.linux Sun Oct 17 23:10:19 1999
5 # Where the zlib library and include files are located
6 #ZLIBLIB=/usr/local/lib
7 #ZLIBINC=/usr/local/include
17 # for pgcc version 2.95.1, -O3 is buggy; don't us it.
19 -CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops \
20 - $(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5
21 +CFLAGS=-I$(ZLIBINC) -Wall $(RPM_OPT_FLAGS) -funroll-loops \
22 + $(ALIGN) # $(WARNMORE) -DPNG_DEBUG=5
23 LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng -lz -lm