]> git.pld-linux.org Git - packages/crossmingw32-libpng.git/blame - libpng-opt.patch
- fix passing $RPM_OPT_FLAGS in makefile.gcmmx too
[packages/crossmingw32-libpng.git] / libpng-opt.patch
CommitLineData
5d54cad8 1diff -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
4@@ -11,8 +11,8 @@
5 # Where the zlib library and include files are located
6 #ZLIBLIB=/usr/local/lib
7 #ZLIBINC=/usr/local/include
8-ZLIBLIB=../zlib
9-ZLIBINC=../zlib
10+ZLIBLIB=/usr/lib
11+ZLIBINC=
12
13 ALIGN=
14 # for i386:
15@@ -24,8 +24,8 @@
16
17 # for pgcc version 2.95.1, -O3 is buggy; don't us it.
17117aaf 18
19-CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops \
5d54cad8 20- $(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5
17117aaf 21+CFLAGS=-I$(ZLIBINC) -Wall $(RPM_OPT_FLAGS) -funroll-loops \
5d54cad8 22+ $(ALIGN) # $(WARNMORE) -DPNG_DEBUG=5
23 LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng -lz -lm
17117aaf 24
bca8f078 25 RANLIB=ranlib
26--- libpng-1.0.8/scripts/makefile.gcmmx.old Mon Jul 24 13:34:14 2000
27+++ libpng-1.0.8/scripts/makefile.gcmmx Wed Nov 1 13:29:17 2000
28@@ -13,8 +13,8 @@
29 # Where the zlib library and include files are located
30 #ZLIBLIB=/usr/local/lib
31 #ZLIBINC=/usr/local/include
32-ZLIBLIB=../zlib
33-ZLIBINC=../zlib
34+ZLIBLIB=/usr/lib
35+ZLIBINC=
36
37 ALIGN=
38 # for i386:
39@@ -26,8 +26,7 @@
40
41 # for pgcc version 2.95.1, -O3 is buggy; don't use it.
42
43-CFLAGS=-DPNG_USE_PNGGCCRD -I$(ZLIBINC) -Wall -O3 $(ALIGN) -funroll-loops \
44- -fomit-frame-pointer # $(WARNMORE) -g -DPNG_DEBUG=5
45+CFLAGS=-DPNG_USE_PNGGCCRD -I$(ZLIBINC) -Wall $(RPM_OPT_FLAGS) $(ALIGN) -funroll-loops
46 LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng -lz -lm
47
17117aaf 48 RANLIB=ranlib
This page took 0.078219 seconds and 4 git commands to generate.