Browse Source

Set build type to release with debug info. (#16889)

vkalintiris 1 year ago
parent
commit
f9f503688a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      contrib/debian/rules

+ 1 - 0
contrib/debian/rules

@@ -69,6 +69,7 @@ override_dh_auto_configure:
 		packaging/bundle-ebpf-co-re.sh . ${TOP}/usr/libexec/netdata/plugins.d; \
 	fi
 	dh_auto_configure -- -G Ninja \
+		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
 		-DCMAKE_INSTALL_PREFIX=/ \
 		-DWEB_DIR=/var/lib/netdata/www \
 		-DCMAKE_C_FLAGS='-ffile-prefix-map=${SRC_DIR}=${SRC_DIR}' \