From: Otto Moerbeek Date: Fri, 15 Jan 2021 12:56:36 +0000 (+0000) Subject: Addding re2 flags wil break c++17, so override X-Git-Tag: dnsdist-1.6.0-alpha1~39^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9982%2Fhead;p=thirdparty%2Fpdns.git Addding re2 flags wil break c++17, so override --- 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