aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/freeradius/files/0001-version.c-don-t-print-build-flags.patch
blob: 697205efe0b1a2ee9e8dc80cd30888f5a8662597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From cbc64dcf6aa2a1be63f45ea6dd7d2c49b70a0bee Mon Sep 17 00:00:00 2001
From: Mingli Yu <mingli.yu@windriver.com>
Date: Wed, 3 Aug 2022 16:44:29 +0800
Subject: [PATCH] version.c: don't print build flags

Don't print the build flags to avoid collecting the build environment info.

Upstream-Status: Inappropriate [oe specific]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 src/main/version.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/src/main/version.c b/src/main/version.c
index 62972d9f53..cf81de72c9 100644
--- a/src/main/version.c
+++ b/src/main/version.c
@@ -589,19 +589,6 @@ void version_print(void)
 		DEBUG2("  unknown");
 #endif
 
-		DEBUG2("Compilation flags:");
-#ifdef BUILT_WITH_CPPFLAGS
-		DEBUG2("  cppflags : " BUILT_WITH_CPPFLAGS);
-#endif
-#ifdef BUILT_WITH_CFLAGS
-		DEBUG2("  cflags   : " BUILT_WITH_CFLAGS);
-#endif
-#ifdef BUILT_WITH_LDFLAGS
-		DEBUG2("  ldflags  : " BUILT_WITH_LDFLAGS);
-#endif
-#ifdef BUILT_WITH_LIBS
-		DEBUG2("  libs     : " BUILT_WITH_LIBS);
-#endif
 		DEBUG2("  ");
 	}
 	INFO("FreeRADIUS Version " RADIUSD_VERSION_STRING);
-- 
2.25.1