From: NaN-git Date: Wed, 3 Feb 2021 15:29:22 +0000 (+0100) Subject: Cross compilation fix X-Git-Tag: v245~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7cf5d6e1c05d3147ee7890865c900757fc42d9ef;p=liblinear Cross compilation fix Signed-off-by: Sinacam --- diff --git a/blas/Makefile b/blas/Makefile index ff42789..e0293a4 100644 --- a/blas/Makefile +++ b/blas/Makefile @@ -1,5 +1,5 @@ -AR = ar rcv -RANLIB = ranlib +AR ?= ar +RANLIB ?= ranlib HEADERS = blas.h blasp.h FILES = dnrm2.o daxpy.o ddot.o dscal.o @@ -8,7 +8,7 @@ CFLAGS = $(OPTFLAGS) FFLAGS = $(OPTFLAGS) blas: $(FILES) $(HEADERS) - $(AR) blas.a $(FILES) + $(AR) rcv blas.a $(FILES) $(RANLIB) blas.a clean: