]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use gnu++20 instead of c++20, according to Habbie it makes porting to e.g. Suse and...
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 8 Sep 2025 10:13:29 +0000 (12:13 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 12 Nov 2025 08:09:27 +0000 (09:09 +0100)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
configure.ac
meson.build
pdns/dnsdistdist/configure.ac
pdns/dnsdistdist/meson.build
pdns/recursordist/configure.ac
pdns/recursordist/meson.build

index 07bc4d78d50af58fec8c9cf8ecf1f4d94b154c20..3e4177cea5e872d6bf4acc7716f62b254e6e8104 100644 (file)
@@ -35,7 +35,7 @@ PDNS_CHECK_FLEX
 # Warn when pkg.m4 is missing
 m4_pattern_forbid([^_?PKG_[A-Z_]+$], [*** pkg.m4 missing, please install pkg-config])
 
-AX_CXX_COMPILE_STDCXX_20([noext], [mandatory])
+AX_CXX_COMPILE_STDCXX_20([ext], [mandatory])
 LT_PREREQ([2.2.2])
 LT_INIT([disable-static dlopen])
 
index 253ddfa284bdd74592ad7b826b8f032752e5ede7..5736de86d38740683bae5dce9fbca515b068ed6e 100644 (file)
@@ -8,7 +8,7 @@ project(
   default_options: [
     'buildtype=debugoptimized',
     'warning_level=2',          # TODO Move this to 3 to enable -Wpedantic
-    'cpp_std=c++20',
+    'cpp_std=gnu++20',
   ],
 )
 
index 2e507266f10d14424f9916fc67c902ab3ba05840..00fea50383b09415a490a5a7f195ed60782f2606 100644 (file)
@@ -148,7 +148,7 @@ PDNS_CHECK_LMDB
 PDNS_ENABLE_IPCIPHER
 PDNS_CHECK_AARCH64_UINT64X2_T
 
-AX_CXX_COMPILE_STDCXX_20([noext], [mandatory])
+AX_CXX_COMPILE_STDCXX_20([ext], [mandatory])
 
 AC_MSG_CHECKING([whether we will enable compiler security checks])
 AC_ARG_ENABLE([hardening],
index 8c248f70b4b1aa64b9d32aad80782df87d6d4798..84c59f5926de8085cf412265560e44f7f2771fce 100644 (file)
@@ -8,7 +8,7 @@ project(
   default_options: [
     'buildtype=debugoptimized',
     'warning_level=2',          # TODO Move this to 3 to enable -Wpedantic
-    'cpp_std=c++20',
+    'cpp_std=gnu++20',
     'b_pie=true',
   ],
 )
index 33779db9d117d811e646a1ce71a31bd9793915ba..27bdcf196588654e6722351e19a873b7b67c5a30 100644 (file)
@@ -32,7 +32,7 @@ CPPFLAGS="-DRECURSOR $CPPFLAGS"
 # Warn when pkg.m4 is missing
 m4_pattern_forbid([^_?PKG_[A-Z_]+$], [*** pkg.m4 missing, please install pkg-config])
 
-AX_CXX_COMPILE_STDCXX_20([noext], [mandatory])
+AX_CXX_COMPILE_STDCXX_20([ext], [mandatory])
 PDNS_CHECK_CARGO([1.64])
 
 # Rust runtime used dlopen from its static lib
index 0a81a05c1224a6687578e917b80f8d1c3fd1fc29..0f64b83c823bb230a0bc896ada2afe5e14282288 100644 (file)
@@ -8,7 +8,7 @@ project(
   default_options: [
     'buildtype=debugoptimized',
     'warning_level=2',          # TODO Move this to 3 to enable -Wpedantic
-    'cpp_std=c++20',
+    'cpp_std=gnu++20',
   ],
 )