about summary refs log tree commit diff
path: root/pkgs/tools/system/netdata/skip-CONFIGURE_COMMAND.patch
blob: 472da270798f339865e1fd1a626e6cebda1308ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Shrink closure size by avoiding paths embedded from configure call.

https://github.com/NixOS/nixpkgs/issues/175693
diff --git a/daemon/buildinfo.c b/daemon/buildinfo.c
index 56cde84fc..011e7579d 100644
--- a/daemon/buildinfo.c
+++ b/daemon/buildinfo.c
@@ -1040,7 +1040,7 @@ static void build_info_set_status(BUILD_INFO_SLOT slot, bool status) {
 
 __attribute__((constructor)) void initialize_build_info(void) {
     build_info_set_value(BIB_PACKAGING_NETDATA_VERSION, program_version);
-    build_info_set_value(BIB_PACKAGING_CONFIGURE_OPTIONS, CONFIGURE_COMMAND);
+    build_info_set_value(BIB_PACKAGING_CONFIGURE_OPTIONS, "REMOVED FOR CLOSURE SIZE REASONS");
 
 #ifdef COMPILED_FOR_LINUX
     build_info_set_status(BIB_FEATURE_BUILT_FOR, true);