Commit f27b6f57 authored by Rob Latham's avatar Rob Latham
Browse files

move more flags into configure

since BwTree is an optional backend, the BwTree flags should be selected
at configure time
parent 0425a78d
......@@ -32,7 +32,6 @@ noinst_HEADERS = src/datastore.h \
src/BwTree/src/bloom_filter.h \
lib_libkvserver_la_CPPFLAGS = ${CPPFLAGS} -I${srcdir}/src/BwTree/src
lib_libkvgroupserver_la_SOURCES = src/
lib_libkvgroupserver_la_CPPFLAGS = ${CPPFLAGS}
......@@ -97,6 +97,8 @@ fi
if test "x${bwtree_backend}" == xyes ; then
AC_DEFINE([USE_BWTREE], 1, [use BwTree backend])
CPPFLAGS="-I${srcdir}/src/BwTree/src ${CPPFLAGS}"
CXXFLAGS="-pthread -std=c++11 -g -Wall -mcx16 -Wno-invalid-offsetof ${CXXFLAGS}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment