Nmap Development mailing list archives
[patch] nmap-5.61TEST1 liblinear/Makefile
From: olli hauer <ohauer () gmx de>
Date: Fri, 23 Sep 2011 22:17:35 +0200
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 -- Regards, olli _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- [patch] nmap-5.61TEST1 liblinear/Makefile olli hauer (Sep 23)
- Re: [patch] nmap-5.61TEST1 liblinear/Makefile David Fifield (Sep 23)