aboutsummaryrefslogtreecommitdiff
path: root/package/liblinear/0001-blas-don-t-overwrite-ar-options.patch
blob: 5d1ef3f52a50093d3fb127dc2e4bd9b05f2be2ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From cae4c3b80fee0f3637d70f6d33946888c8105637 Mon Sep 17 00:00:00 2001
From: Romain Naour <romain.naour@openwide.fr>
Date: Sat, 13 Dec 2014 17:16:58 +0100
Subject: [PATCH 1/1] blas: don't overwrite ar options

ar's rcv options get lost when AR is passed on
the command line.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
 blas/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/blas/Makefile b/blas/Makefile
index 895fd24..78cec9a 100644
--- a/blas/Makefile
+++ b/blas/Makefile
@@ -1,4 +1,4 @@
-AR     = ar rcv
+AR     = ar
 RANLIB = ranlib 
 
 HEADERS = blas.h blasp.h
@@ -8,7 +8,7 @@ CFLAGS = $(OPTFLAGS)
 FFLAGS = $(OPTFLAGS)
 
 blas: $(FILES) $(HEADERS)
-	$(AR) blas.a $(FILES)  
+	$(AR) rcv blas.a $(FILES)  
 	$(RANLIB) blas.a
 
 clean:
-- 
1.9.3