summaryrefslogtreecommitdiff
path: root/user/lmdb/lmdb_make.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 06:11:26 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 06:11:26 -0500
commit639cb5cd2a0905c3c5ae6f144e27aa8218b5f538 (patch)
tree474642993ff21979d7db4322cdd799a9152b81ad /user/lmdb/lmdb_make.patch
parent6e0c7ddf49a96c09e25397810d2211164e833568 (diff)
downloadpackages-639cb5cd2a0905c3c5ae6f144e27aa8218b5f538.tar.gz
packages-639cb5cd2a0905c3c5ae6f144e27aa8218b5f538.tar.bz2
packages-639cb5cd2a0905c3c5ae6f144e27aa8218b5f538.tar.xz
packages-639cb5cd2a0905c3c5ae6f144e27aa8218b5f538.zip
user/lmdb: pull in, bump, fix
Diffstat (limited to 'user/lmdb/lmdb_make.patch')
-rw-r--r--user/lmdb/lmdb_make.patch18
1 files changed, 18 insertions, 0 deletions
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