[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nmap-dev
Subject:    Re: [patch] nmap-5.61TEST1 liblinear/Makefile
From:       David Fifield <david () bamsoftware ! com>
Date:       2011-09-23 21:15:20
Message-ID: 20110923211520.GL20100 () ignominy ! bamsoftware ! com
[Download RAW message or body]

On Fri, Sep 23, 2011 at 10:17:35PM +0200, olli hauer wrote:
> Hi,
> 
> on systems where make != gmake the build will 
> fail with the following error message.
> 
> cd blas; make OPTFLAGS='-O2 -pipe -fno-strict-aliasing -Wall -fno-strict-aliasing  ' CC='cc';
> make: don't know how to make w. Stop
> gmake[1]: *** [blas/blas.a] Error 2
> 
> 
> The following diff will fix this issue.
> 
> --- ./liblinear/Makefile.orig   2011-08-16 23:43:30.000000000 +0200
> +++ ./liblinear/Makefile        2011-09-23 22:15:11.000000000 +0200
> @@ -29,8 +29,8 @@
>         $(CXX) $(CFLAGS) -c -o linear.o linear.cpp
> 
>  blas/blas.a:
> -       cd blas; make OPTFLAGS='$(CFLAGS)' CC='$(CC)';
> +       cd blas; ${MAKE} OPTFLAGS='$(CFLAGS)' CC='$(CC)';
> 
>  clean:
> -       cd blas;        make clean
> +       cd blas;        ${MAKE} clean
>         rm -f *~ tron.o linear.o train predict liblinear.so.$(SHVER) liblinear.a

Thanks, I thought I had fixed this but I missed one of the makes.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic