]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
boost 1.76 containers: use standard exceptions 10335/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 23 Apr 2021 13:40:43 +0000 (15:40 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Mon, 26 Apr 2021 06:58:05 +0000 (08:58 +0200)
(cherry picked from commit 311f26839819062ced8697686372b6c6b2210bdf)

pdns/Makefile.am
pdns/dnsdistdist/Makefile.am
pdns/recursordist/Makefile.am

index 975a12972217450bc74b31914151d95e29179cb3..9e26e7798ae399cef47c10f131fe23356c38b005 100644 (file)
@@ -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)\" \
index e56c07e2636c80461a8cdb04623b7f27da1f39e7..23be736d3d1d6d2dfbe62a661d26c8510d4416b0 100644 (file)
@@ -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
 
index 64e3c8f9d4323185e05f827b91517bc3724c21eb..bd39f48fe504c7ced04192f7fc81430bda8be5fc 100644 (file)
@@ -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)\" \