0f3a8f561d
Signed-off-by: Romain Naour <romain.naour@openwide.fr> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> [yann.morin.1998@free.fr: add ability to build a static lib; handle static-only and static+shared cases] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
36 lines
798 B
Diff
36 lines
798 B
Diff
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
|
|
|