diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/freeradius/files/0016-version.c-don-t-print-build-flags.patch')
-rw-r--r-- | meta-networking/recipes-connectivity/freeradius/files/0016-version.c-don-t-print-build-flags.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0016-version.c-don-t-print-build-flags.patch b/meta-networking/recipes-connectivity/freeradius/files/0016-version.c-don-t-print-build-flags.patch new file mode 100644 index 0000000000..2d67fdef05 --- /dev/null +++ b/meta-networking/recipes-connectivity/freeradius/files/0016-version.c-don-t-print-build-flags.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From cbbb62ddda5c189c225f96bf6b599b3b3e8c8252 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mingli Yu <mingli.yu@windriver.com> | ||
3 | Date: Wed, 3 Aug 2022 16:44:29 +0800 | ||
4 | Subject: [PATCH] version.c: don't print build flags | ||
5 | |||
6 | Don't print the build flags to avoid collecting the build environment info. | ||
7 | |||
8 | Upstream-Status: Inappropriate [embedded specific] | ||
9 | |||
10 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | ||
11 | --- | ||
12 | src/main/version.c | 13 ------------- | ||
13 | 1 file changed, 13 deletions(-) | ||
14 | |||
15 | diff --git a/src/main/version.c b/src/main/version.c | ||
16 | index f1f1e87810..3ffcbb25a0 100644 | ||
17 | --- a/src/main/version.c | ||
18 | +++ b/src/main/version.c | ||
19 | @@ -589,19 +589,6 @@ void version_print(void) | ||
20 | DEBUG2(" unknown"); | ||
21 | #endif | ||
22 | |||
23 | - DEBUG2("Compilation flags:"); | ||
24 | -#ifdef BUILT_WITH_CPPFLAGS | ||
25 | - DEBUG2(" cppflags : " BUILT_WITH_CPPFLAGS); | ||
26 | -#endif | ||
27 | -#ifdef BUILT_WITH_CFLAGS | ||
28 | - DEBUG2(" cflags : " BUILT_WITH_CFLAGS); | ||
29 | -#endif | ||
30 | -#ifdef BUILT_WITH_LDFLAGS | ||
31 | - DEBUG2(" ldflags : " BUILT_WITH_LDFLAGS); | ||
32 | -#endif | ||
33 | -#ifdef BUILT_WITH_LIBS | ||
34 | - DEBUG2(" libs : " BUILT_WITH_LIBS); | ||
35 | -#endif | ||
36 | DEBUG2(" "); | ||
37 | } | ||
38 | INFO("FreeRADIUS Version " RADIUSD_VERSION_STRING); | ||
39 | -- | ||
40 | 2.25.1 | ||
41 | |||