From 311f26839819062ced8697686372b6c6b2210bdf Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Fri, 23 Apr 2021 15:40:43 +0200 Subject: [PATCH] boost 1.76 containers: use standard exceptions --- pdns/Makefile.am | 3 ++- pdns/dnsdistdist/Makefile.am | 3 ++- pdns/recursordist/Makefile.am | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pdns/Makefile.am b/pdns/Makefile.am index 26ee57bb95..4f7fa1175c 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -7,7 +7,8 @@ AM_CPPFLAGS += \ $(LIBCRYPTO_INCLUDES) \ $(SYSTEMD_CFLAGS) \ $(YAML_CFLAGS) \ - -I$(top_srcdir)/ext/protozero/include + -I$(top_srcdir)/ext/protozero/include \ + -DBOOST_CONTAINER_USE_STD_EXCEPTIONS AM_CXXFLAGS = \ -DSYSCONFDIR=\"$(sysconfdir)\" \ diff --git a/pdns/dnsdistdist/Makefile.am b/pdns/dnsdistdist/Makefile.am index e56c07e263..23be736d3d 100644 --- a/pdns/dnsdistdist/Makefile.am +++ b/pdns/dnsdistdist/Makefile.am @@ -7,7 +7,8 @@ AM_CPPFLAGS += $(SYSTEMD_CFLAGS) \ $(NET_SNMP_CFLAGS) \ $(LIBCAP_CFLAGS) \ -I$(top_srcdir)/ext/protozero/include \ - -DSYSCONFDIR=\"${sysconfdir}\" + -DSYSCONFDIR=\"${sysconfdir}\" \ + -DBOOST_CONTAINER_USE_STD_EXCEPTIONS ACLOCAL_AMFLAGS = -I m4 diff --git a/pdns/recursordist/Makefile.am b/pdns/recursordist/Makefile.am index 64e3c8f9d4..bd39f48fe5 100644 --- a/pdns/recursordist/Makefile.am +++ b/pdns/recursordist/Makefile.am @@ -7,7 +7,8 @@ AM_CPPFLAGS += \ -I$(top_srcdir)/ext/json11 \ -I$(top_srcdir)/ext/protozero/include \ $(YAHTTP_CFLAGS) \ - $(LIBCRYPTO_INCLUDES) + $(LIBCRYPTO_INCLUDES) \ + -DBOOST_CONTAINER_USE_STD_EXCEPTIONS AM_CXXFLAGS = \ -DSYSCONFDIR=\"$(sysconfdir)\" \ -- 2.47.2