From 3b96145def1b2e77a20b8005003aa9aa0bb61938 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 15 Jan 2021 12:56:36 +0000 Subject: [PATCH] Addding re2 flags wil break c++17, so override --- pdns/dnsdistdist/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdns/dnsdistdist/Makefile.am b/pdns/dnsdistdist/Makefile.am index 812d8e1e01..d0be48acce 100644 --- a/pdns/dnsdistdist/Makefile.am +++ b/pdns/dnsdistdist/Makefile.am @@ -43,7 +43,9 @@ html/js/%.min.js: src_js/%.js min_js: $(MIN_JS_FILES) if HAVE_RE2 +# Some versions of pkg_config add -std=c11++, override that AM_CPPFLAGS += $(RE2_CFLAGS) +AM_CPPFLAGS += -std=c++17 endif if HAVE_DNS_OVER_TLS -- 2.47.2