File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ Patch0: mdb.patch
1919
2020%if %{?with_debugsym }%{!?with_debugsym:0 }
2121%define debug_package %{nil }
22- %define cflags CFLAGS= "-ggdb3"
22+ %define cflags CFLAGS= "-ggdb3 -DMDB_MAXKEYSIZE = 511 "
2323%else
24- %define cflags CFLAGS= ""
24+ %define cflags CFLAGS= "-DMDB_MAXKEYSIZE = 511 "
2525%endif
2626
2727%ifarch %ix86
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ build-stamp:
2727 # it can't without automake. Work around it by touching that file.
2828 touch libraries/liblmdb/Makefile.in
2929ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS ) ) )
30- cd libraries/liblmdb/ && sh ./configure --host=$(DEB_HOST_GNU_TYPE) --prefix=$(PREFIX) $(PTHREAD) && make
30+ cd libraries/liblmdb/ && CFLAGS="-DMDB_MAXKEYSIZE=511" sh ./configure --host=$(DEB_HOST_GNU_TYPE) --prefix=$(PREFIX) $(PTHREAD) && make
3131else
32- cd libraries/liblmdb/ && env CFLAGS="-ggdb3" sh ./configure --host=$(DEB_HOST_GNU_TYPE) --prefix=$(PREFIX) $(PTHREAD) && make
32+ cd libraries/liblmdb/ && env CFLAGS="-ggdb3 -DMDB_MAXKEYSIZE=511 " sh ./configure --host=$(DEB_HOST_GNU_TYPE) --prefix=$(PREFIX) $(PTHREAD) && make
3333endif
3434 touch build-stamp
3535
You can’t perform that action at this time.
0 commit comments