mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
1d2a2dc7d0
https://github.com/netdata/netdata/releases/tag/v1.41.0 Reflowed & updated 2 patches: - etc/var one - skip configure one
17 lines
749 B
Diff
17 lines
749 B
Diff
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);
|