xref: /OK3568_Linux_fs/buildroot/package/liblinear/0001-blas-don-t-overwrite-ar-options.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From cae4c3b80fee0f3637d70f6d33946888c8105637 Mon Sep 17 00:00:00 2001
2From: Romain Naour <romain.naour@openwide.fr>
3Date: Sat, 13 Dec 2014 17:16:58 +0100
4Subject: [PATCH 1/1] blas: don't overwrite ar options
5
6ar's rcv options get lost when AR is passed on
7the command line.
8
9Signed-off-by: Romain Naour <romain.naour@openwide.fr>
10Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
11---
12 blas/Makefile | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/blas/Makefile b/blas/Makefile
16index 895fd24..78cec9a 100644
17--- a/blas/Makefile
18+++ b/blas/Makefile
19@@ -1,4 +1,4 @@
20-AR     = ar rcv
21+AR     = ar
22 RANLIB = ranlib
23
24 HEADERS = blas.h blasp.h
25@@ -8,7 +8,7 @@ CFLAGS = $(OPTFLAGS)
26 FFLAGS = $(OPTFLAGS)
27
28 blas: $(FILES) $(HEADERS)
29-	$(AR) blas.a $(FILES)
30+	$(AR) rcv blas.a $(FILES)
31 	$(RANLIB) blas.a
32
33 clean:
34--
351.9.3
36
37