From 639cb5cd2a0905c3c5ae6f144e27aa8218b5f538 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 15 Jul 2018 06:11:26 -0500 Subject: user/lmdb: pull in, bump, fix --- user/lmdb/lmdb_make.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 user/lmdb/lmdb_make.patch (limited to 'user/lmdb/lmdb_make.patch') diff --git a/user/lmdb/lmdb_make.patch b/user/lmdb/lmdb_make.patch new file mode 100644 index 000000000..deb49ee76 --- /dev/null +++ b/user/lmdb/lmdb_make.patch @@ -0,0 +1,18 @@ +diff --git a/Makefile b/Makefile +index 0940c49..7a47dc2 100644 +--- a/Makefile ++++ b/Makefile +@@ -23,11 +23,11 @@ AR = ar + W = -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized + THREADS = -pthread + OPT = -O2 -g +-CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS) ++CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS) -fPIC + LDLIBS = + SOLIBS = + SOEXT = .so +-prefix = /usr/local ++prefix = /usr + exec_prefix = $(prefix) + bindir = $(exec_prefix)/bin + libdir = $(exec_prefix)/lib -- cgit v1.2.3-60-g2f50