summaryrefslogtreecommitdiff
path: root/package/nmap/patches/patch-liblinear_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/nmap/patches/patch-liblinear_Makefile')
-rw-r--r--package/nmap/patches/patch-liblinear_Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/nmap/patches/patch-liblinear_Makefile b/package/nmap/patches/patch-liblinear_Makefile
new file mode 100644
index 000000000..fdb24470d
--- /dev/null
+++ b/package/nmap/patches/patch-liblinear_Makefile
@@ -0,0 +1,16 @@
+--- nmap-6.40.orig/liblinear/Makefile 2011-09-23 23:15:09.000000000 +0200
++++ nmap-6.40/liblinear/Makefile 2014-02-11 19:38:23.000000000 +0100
+@@ -1,10 +1,10 @@
+ CXX ?= g++
+ CC ?= gcc
+-CFLAGS = -Wall -Wconversion -O3 -fPIC
++CFLAGS ?= -Wall -Wconversion -O3 -fPIC
+ LIBS = blas/blas.a
+ SHVER = 1
+-AR = ar
+-RANLIB = ranlib
++AR ?= ar
++RANLIB ?= ranlib
+ #LIBS = -lblas
+
+ all: train predict