summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2024-02-09 06:51:41 -0500
committerGitHub <noreply@github.com>2024-02-09 06:51:41 -0500
commit63f53de380732ab4c088c6b6d7eb48e33310eea9 (patch)
tree881bff344bce6d2d22bab9032dfa9c894f0fbafc /netdata-installer.sh
parentdd11815cd97c9a427bc06e8d3efbb8b7f2bd7712 (diff)
Use C++14 by default when building on systems that support it. (#16972)
This is needed to properly support the latest versions of Protobuf.
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index bce098dd91..d2fe1a2abd 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -209,6 +209,7 @@ USAGE: ${PROGRAM} [options]
--disable-ebpf Disable eBPF Kernel plugin. Default: enabled.
--disable-cloud Disable all Netdata Cloud functionality.
--require-cloud Fail the install if it can't build Netdata Cloud support.
+ --force-legacy-cxx Force usage of an older C++ standard to allow building on older systems. This will usually be autodetected.
--enable-plugin-freeipmi Enable the FreeIPMI plugin. Default: enable it when libipmimonitoring is available.
--disable-plugin-freeipmi Explicitly disable the FreeIPMI plugin.
--disable-https Explicitly disable TLS support.
@@ -257,6 +258,7 @@ ENABLE_H2O=1
ENABLE_CLOUD=1
ENABLE_LOGS_MANAGEMENT=1
ENABLE_LOGS_MANAGEMENT_TESTS=0
+FORCE_LEGACY_CXX=0
NETDATA_CMAKE_OPTIONS="${NETDATA_CMAKE_OPTIONS-}"
RELEASE_CHANNEL="nightly" # valid values are 'nightly' and 'stable'
@@ -273,6 +275,7 @@ while [ -n "${1}" ]; do
"--auto-update-type") ;;
"--stable-channel") RELEASE_CHANNEL="stable" ;;
"--nightly-channel") RELEASE_CHANNEL="nightly" ;;
+ "--force-legacy-cxx") FORCE_LEGACY_CXX=1 ;;
"--enable-plugin-freeipmi") ENABLE_FREEIPMI=1 ;;
"--disable-plugin-freeipmi") ENABLE_FREEIPMI=0 ;;
"--disable-https")