diff --git a/ircd/Makefile.am b/ircd/Makefile.am index e2d9c5513..b2df45d77 100644 --- a/ircd/Makefile.am +++ b/ircd/Makefile.am @@ -159,6 +159,9 @@ LOWMEM_FLAGS= --param ggc-min-expand=1 endif endif +parse.lo: AM_CPPFLAGS := -include ircd/spirit.h ${AM_CPPFLAGS} +parse.lo: CXXFLAGS += ${LOWMEM_FLAGS} + json.lo: AM_CPPFLAGS := -include ircd/spirit.h ${AM_CPPFLAGS} json.lo: CXXFLAGS += ${LOWMEM_FLAGS} diff --git a/ircd/parse.cc b/ircd/parse.cc index 815e40b28..f62cd102d 100644 --- a/ircd/parse.cc +++ b/ircd/parse.cc @@ -23,8 +23,6 @@ * USA */ -#include - decltype(ircd::spirit::rulebuf) thread_local ircd::spirit::rulebuf;