]> git.pld-linux.org Git - packages/crossmingw32-libpng.git/commitdiff
- fix passing $RPM_OPT_FLAGS in makefile.gcmmx too
authorbszx <bszx@pld-linux.org>
Fri, 17 Nov 2000 17:45:39 +0000 (17:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libpng-opt.patch -> 1.3

libpng-opt.patch

index 392206a09b39428621579ac9b963bd6b362304a8..e12c4f487ff51111bde59cdef37ff4afb6509316 100644 (file)
@@ -22,4 +22,27 @@ diff -Nru libpng-1.0.5/scripts/makefile.linux libpng-1.0.5.new/scripts/makefile.
 +      $(ALIGN) # $(WARNMORE) -DPNG_DEBUG=5
  LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng -lz -lm
  
+ RANLIB=ranlib
+--- libpng-1.0.8/scripts/makefile.gcmmx.old    Mon Jul 24 13:34:14 2000
++++ libpng-1.0.8/scripts/makefile.gcmmx        Wed Nov  1 13:29:17 2000
+@@ -13,8 +13,8 @@
+ # Where the zlib library and include files are located
+ #ZLIBLIB=/usr/local/lib
+ #ZLIBINC=/usr/local/include
+-ZLIBLIB=../zlib
+-ZLIBINC=../zlib
++ZLIBLIB=/usr/lib
++ZLIBINC=
+ ALIGN=
+ # for i386:
+@@ -26,8 +26,7 @@
+ # for pgcc version 2.95.1, -O3 is buggy; don't use it.
+-CFLAGS=-DPNG_USE_PNGGCCRD -I$(ZLIBINC) -Wall -O3 $(ALIGN) -funroll-loops \
+-        -fomit-frame-pointer  # $(WARNMORE) -g -DPNG_DEBUG=5
++CFLAGS=-DPNG_USE_PNGGCCRD -I$(ZLIBINC) -Wall $(RPM_OPT_FLAGS) $(ALIGN) -funroll-loops 
+ LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng -lz -lm
  RANLIB=ranlib
This page took 0.056962 seconds and 4 git commands to generate.