From bc381359c7680c4cc15a0337843244f8dafe50b4 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 5 Mar 2023 16:49:55 -0800 Subject: [PATCH] ircd::spirit: Fix multiple definitions from phoenix::placeholders (GCC). --- include/ircd/spirit/boost.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/ircd/spirit/boost.h b/include/ircd/spirit/boost.h index 3b88cd6af..6e3b37bcd 100644 --- a/include/ircd/spirit/boost.h +++ b/include/ircd/spirit/boost.h @@ -28,6 +28,12 @@ #define BOOST_PHOENIX_DEBUG_HPP #endif +// Multiple definitions from phoenix tuple impl with gcc+ld.gold; doesn't seem +// to be a necessary header for our uses, so we guard it out. +#if !defined(__clang__) +#define BOOST_PHOENIX_STL_TUPLE_H_ +#endif + // These must be included prior to the internal visibility/linkage sections. #include #include