From 4049ea01273a8e3dacf1e2375fe594d0b5039df1 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 9 Jun 2020 00:50:21 -0700 Subject: [PATCH] ircd: Use -isystem for some rocksdb includes triggering warnings on GCC. --- ircd/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}