From: Remi Gacogne Date: Tue, 3 Feb 2026 09:54:14 +0000 (+0100) Subject: dnsdist: Do NOT add `c++` flags to `CPPFLAGS` X-Git-Tag: rec-5.5.0-alpha0~31^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af876c79413631b0f87c5f92b67379be3aa41d1a;p=thirdparty%2Fpdns.git dnsdist: Do NOT add `c++` flags to `CPPFLAGS` Signed-off-by: Remi Gacogne --- diff --git a/pdns/dnsdistdist/Makefile.am b/pdns/dnsdistdist/Makefile.am index 0d04dd2160..b33817f79d 100644 --- a/pdns/dnsdistdist/Makefile.am +++ b/pdns/dnsdistdist/Makefile.am @@ -14,6 +14,7 @@ AM_CPPFLAGS += $(SYSTEMD_CFLAGS) \ -I$(top_srcdir)/dnsdist-rust-lib/rust/src \ -DSYSCONFDIR=\"${sysconfdir}\" \ -DBOOST_CONTAINER_USE_STD_EXCEPTIONS +AM_CXXFLAGS = DNSDIST_RUST_LIBS = $(top_builddir)/dnsdist-rust-lib/rust/libdnsdist_rust.a $(LIBDL) @@ -80,7 +81,7 @@ 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 +AM_CXXFLAGS += -std=c++17 endif if HAVE_DNS_OVER_TLS