]> git.pld-linux.org Git - packages/crossmingw32-zlib.git/blob - zlib-asmopt.patch
patch for Makefile.in allowing commiling with assebler optimization
[packages/crossmingw32-zlib.git] / zlib-asmopt.patch
1 diff -urN zlib-1.1.3/Makefile zlib-1.1.3.new/Makefile
2 diff -urN zlib-1.1.3/Makefile.in zlib-1.1.3.new/Makefile.in
3 --- zlib-1.1.3/Makefile.in      Thu Jul  9 18:07:18 1998
4 +++ zlib-1.1.3.new/Makefile.in  Thu Sep 13 09:02:28 2001
5 @@ -41,7 +41,7 @@
6  OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
7         zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o
8  
9 -OBJA =
10 +OBJA = match.o
11  # to use the asm code: make OBJA=match.o
12  
13  TEST_OBJS = example.o minigzip.o
14 @@ -79,8 +79,8 @@
15         mv _match.o match.o
16         rm -f _match.s
17  
18 -$(SHAREDLIB).$(VER): $(OBJS)
19 -       $(LDSHARED) -o $@ $(OBJS)
20 +$(SHAREDLIB).$(VER): $(OBJS) $(OBJA)
21 +       $(LDSHARED) -o $@ $(OBJS) $(OBJA)
22         rm -f $(SHAREDLIB) $(SHAREDLIB).1
23         ln -s $@ $(SHAREDLIB)
24         ln -s $@ $(SHAREDLIB).1
This page took 0.112179 seconds and 3 git commands to generate.