diff --git a/ircd/Makefile.am b/ircd/Makefile.am index e38f89b00..0a77ba4c5 100644 --- a/ircd/Makefile.am +++ b/ircd/Makefile.am @@ -209,8 +209,8 @@ db_env.lo: AM_CPPFLAGS := ${ROCKSDB_UNIT_CPPFLAGS} ${AM_CPPFLAGS} db_port.lo: AM_CPPFLAGS := ${ROCKSDB_UNIT_CPPFLAGS} ${AM_CPPFLAGS} db_allocator.lo: AM_CPPFLAGS := ${ROCKSDB_UNIT_CPPFLAGS} ${AM_CPPFLAGS} db_fixes.lo: AM_CPPFLAGS := ${ROCKSDB_UNIT_CPPFLAGS} ${AM_CPPFLAGS} -db_fixes.lo: AM_CPPFLAGS += -I$(top_srcdir)/deps/rocksdb/include -db_fixes.lo: AM_CPPFLAGS += -I$(top_srcdir)/deps/rocksdb +db_fixes.lo: AM_CPPFLAGS += -isystem $(top_srcdir)/deps/rocksdb/include +db_fixes.lo: AM_CPPFLAGS += -isystem $(top_srcdir)/deps/rocksdb exception.lo: AM_CPPFLAGS := ${ASIO_UNIT_CPPFLAGS} ${AM_CPPFLAGS} fmt.lo: AM_CPPFLAGS := ${SPIRIT_UNIT_CPPFLAGS} ${AM_CPPFLAGS} fmt.lo: AM_CXXFLAGS := ${SPIRIT_UNIT_CXXFLAGS} ${AM_CXXFLAGS}