Nmap Development mailing list archives

Re: Cross-compiling error


From: David Fifield <david () bamsoftware com>
Date: Sun, 8 Jan 2012 13:21:53 -0800

On Thu, Jan 05, 2012 at 12:35:28AM +0000, Nuno Gonçalves wrote:
Since there were no comments here I attach the patch.

Index: liblinear/blas/Makefile
===================================================================
--- liblinear/blas/Makefile   (revision 27772)
+++ liblinear/blas/Makefile   (working copy)
@@ -1,4 +1,3 @@
-AR     = ar rcv
 RANLIB = ranlib

 HEADERS = blas.h blas.h blasp.h
@@ -8,7 +7,7 @@
 FFLAGS = $(OPTFLAGS)

 blas: $(FILES) $(HEADERS)
-     $(AR) blas.a $(FILES)
+     $(AR) rcv blas.a $(FILES)
      $(RANLIB) blas.a

Okay; I see now what this does. I applied your patch, however I left the line
AR = ar
in place. Would you check to see if it still works for you? I expect it
will, because your build appears to completely override the value of AR.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: