diff options
Diffstat (limited to 'testing/lmdb/lmdb_make.patch')
-rw-r--r-- | testing/lmdb/lmdb_make.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/lmdb/lmdb_make.patch b/testing/lmdb/lmdb_make.patch new file mode 100644 index 0000000000..ceff5ffd72 --- /dev/null +++ b/testing/lmdb/lmdb_make.patch @@ -0,0 +1,17 @@ +diff --git a/Makefile b/Makefile +index dbb5d69..ec1f881 100644 +--- a/Makefile ++++ b/Makefile +@@ -23,10 +23,10 @@ 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 = +-prefix = /usr/local ++prefix = /usr + mandir = $(prefix)/man + + ######################################################################## |