]> git.pld-linux.org Git - packages/libpng.git/blame - libpng-opt.patch
- apng patch updated to 1.2.15
[packages/libpng.git] / libpng-opt.patch
CommitLineData
6c18cf9d 1--- libpng-1.2.19/scripts/makefile.gcmmx~ 2007-08-18 12:33:48.000000000 +0200
2+++ libpng-1.2.19/scripts/makefile.gcmmx 2007-08-19 00:46:42.000000000 +0200
3@@ -45,8 +45,8 @@
4 # Where the zlib library and include files are located.
4ef53418
JB
5 #ZLIBLIB=/usr/local/lib
6 #ZLIBINC=/usr/local/include
7-ZLIBLIB=../zlib
8-ZLIBINC=../zlib
9+ZLIBLIB=/usr/lib
10+ZLIBINC=
11
12 ALIGN=
13 # for i386:
6c18cf9d 14@@ -60,8 +60,8 @@
da84fb67 15
4ef53418
JB
16 # Remove -DPNG_THREAD_UNSAFE_OK if you need thread safety
17 ### for generic gcc:
6c18cf9d 18-CFLAGS=-DPNG_THREAD_UNSAFE_OK -I$(ZLIBINC) -Wall -O \
19- $(ALIGN) -funroll-loops \
da84fb67 20+CFLAGS=-DPNG_USE_PNGGCCRD -I$(ZLIBINC) -Wall \
e286c0e4 21+ $(OPT_FLAGS) $(ALIGN) \
4ef53418
JB
22 -fomit-frame-pointer # $(WARNMORE) -g -DPNG_DEBUG=5
23 ### for gcc 2.95.2 on 686:
6c18cf9d 24 #CFLAGS=-DPNG_THREAD_UNSAFE_OK -I$(ZLIBINC) -Wall -O \
25--- libpng-1.2.19/scripts/makefile.linux~ 2007-08-18 12:33:48.000000000 +0200
26+++ libpng-1.2.19/scripts/makefile.linux 2007-08-19 00:49:15.000000000 +0200
27@@ -34,8 +34,8 @@
28 # Where the zlib library and include files are located.
4ef53418
JB
29 #ZLIBLIB=/usr/local/lib
30 #ZLIBINC=/usr/local/include
31-ZLIBLIB=../zlib
32-ZLIBINC=../zlib
33+ZLIBLIB=/usr/lib
34+ZLIBINC=
35
36 ALIGN=
37 # for i386:
6c18cf9d 38@@ -47,7 +47,7 @@
4ef53418
JB
39
40 # for pgcc version 2.95.1, -O3 is buggy; don't use it.
41
6c18cf9d 42-CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops -DPNG_NO_MMX_CODE \
4ef53418
JB
43+CFLAGS=-I$(ZLIBINC) -Wall $(OPT_FLAGS) -funroll-loops \
44 $(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5
4ef53418 45
da84fb67 46 LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng12 -lz -lm
This page took 0.232023 seconds and 4 git commands to generate.