| Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | From cbc64dcf6aa2a1be63f45ea6dd7d2c49b70a0bee 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 [oe 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 62972d9f53..cf81de72c9 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 |  |