1 --- libpng-1.2.31/scripts/makefile.gcmmx.orig 2008-08-21 12:54:14.000000000 +0200
2 +++ libpng-1.2.31/scripts/makefile.gcmmx 2008-08-23 01:23:37.018625344 +0200
4 # Where the zlib library and include files are located.
5 #ZLIBLIB=/usr/local/lib
6 #ZLIBINC=/usr/local/include
16 # Remove -DPNG_THREAD_UNSAFE_OK if you need thread safety
18 -CFLAGS=-DPNG_THREAD_UNSAFE_OK -I$(ZLIBINC) -W -Wall -O \
19 - $(ALIGN) -funroll-loops \
20 +CFLAGS=-DPNG_USE_PNGGCCRC -I$(ZLIBINC) -W -Wall \
21 + $(OPT_FLAGS) $(ALIGN) \
22 -fomit-frame-pointer # $(WARNMORE) -g -DPNG_DEBUG=5
23 ### for gcc 2.95.2 on 686:
24 #CFLAGS=-DPNG_THREAD_UNSAFE_OK -I$(ZLIBINC) -W -Wall -O \
25 --- libpng-1.2.31/scripts/makefile.linux.orig 2008-08-21 12:54:14.000000000 +0200
26 +++ libpng-1.2.31/scripts/makefile.linux 2008-08-23 01:26:41.342625344 +0200
28 # Where the zlib library and include files are located.
29 #ZLIBLIB=/usr/local/lib
30 #ZLIBINC=/usr/local/include
40 # for pgcc version 2.95.1, -O3 is buggy; don't use it.
42 -CFLAGS=-I$(ZLIBINC) -W -Wall -O3 -funroll-loops -DPNG_NO_MMX_CODE \
43 +CFLAGS=-I$(ZLIBINC) -W -Wall $(OPT_FLAGS) -DPNG_NO_MMX_CODE \
44 $(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5
46 LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng12 -lz -lm