1From cbbb62ddda5c189c225f96bf6b599b3b3e8c8252 Mon Sep 17 00:00:00 2001 2From: Mingli Yu <mingli.yu@windriver.com> 3Date: Wed, 3 Aug 2022 16:44:29 +0800 4Subject: [PATCH] version.c: don't print build flags 5 6Don't print the build flags to avoid collecting the build environment info. 7 8Upstream-Status: Inappropriate [embedded specific] 9 10Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 11--- 12 src/main/version.c | 13 ------------- 13 1 file changed, 13 deletions(-) 14 15diff --git a/src/main/version.c b/src/main/version.c 16index 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-- 402.25.1 41 42