]> git.pld-linux.org Git - packages/crossmingw32-libpng.git/commitdiff
- fix passing $RPM_OPT_FLAGS. libpng-1_0_3-4 libpng-1_0_3-6
authorkloczek <kloczek@pld-linux.org>
Sat, 6 Mar 1999 03:29:01 +0000 (03:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libpng-opt.patch -> 1.1

libpng-opt.patch [new file with mode: 0644]

diff --git a/libpng-opt.patch b/libpng-opt.patch
new file mode 100644 (file)
index 0000000..5b95628
--- /dev/null
@@ -0,0 +1,15 @@
+diff -Nur libpng-1.0.3-old/scripts/makefile.lnx libpng-1.0.3/scripts/makefile.lnx
+--- libpng-1.0.3-old/scripts/makefile.lnx      Thu Jan 14 05:06:39 1999
++++ libpng-1.0.3/scripts/makefile.lnx  Fri Jan 22 09:46:44 1999
+@@ -22,9 +22,9 @@
+          -Wmissing-declarations -Wtraditional -Wcast-align \
+          -Wstrict-prototypes -Wmissing-prototypes #-Wconversion
+-CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops \
++CFLAGS=-I$(ZLIBINC) -Wall $(RPM_OPT_FLAGS) -funroll-loops \
+      $(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5
+-LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng -lz -lm
++LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng -lz -lm 
+ RANLIB=ranlib
+ #RANLIB=echo
This page took 0.081359 seconds and 4 git commands to generate.