toolchain/gcc (linaro): fix extension elimination optimization
[openwrt.git] / package / zlib / patches / 100-cross_compile.patch
1 --- a/Makefile.in
2 +++ b/Makefile.in
3 @@ -36,7 +36,7 @@ SHAREDLIBV=libz.so.1.2.5
4 SHAREDLIBM=libz.so.1
5 LIBS=$(STATICLIB) $(SHAREDLIBV)
6
7 -AR=ar rc
8 +AR=ar
9 RANLIB=ranlib
10 LDCONFIG=ldconfig
11 LDSHAREDLIBC=-lc
12 @@ -44,6 +44,8 @@ TAR=tar
13 SHELL=/bin/sh
14 EXE=
15
16 +DESTDIR =
17 +
18 prefix = /usr/local
19 exec_prefix = ${prefix}
20 libdir = ${exec_prefix}/lib
21 @@ -108,7 +110,7 @@ test64: all64
22 -@rm -f foo.gz
23
24 libz.a: $(OBJS)
25 - $(AR) $@ $(OBJS)
26 + $(AR) rc $@ $(OBJS)
27 -@ ($(RANLIB) $@ || true) >/dev/null 2>&1
28
29 match.o: match.S
This page took 0.04886 seconds and 5 git commands to generate.