waf: Remove build system info (uname -a)
authorMathieu Parent <math.parent@gmail.com>
Thu, 11 Jan 2018 20:18:46 +0000 (21:18 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Sun, 14 Jan 2018 16:38:26 +0000 (17:38 +0100)
Preventing reproducible builds while adding minor benefit.

More information at <https://reproducible-builds.org/>.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13213

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
buildtools/wafsamba/wscript
source4/smbd/server.c

index 430d164b60d71318cfe47cdee8b6348f359d55b3..3b36b57051edeeeb6418b1fa4f303036280e99fa 100644 (file)
@@ -313,10 +313,6 @@ def configure(conf):
 
     conf.env.GIT_LOCAL_CHANGES = Options.options.GIT_LOCAL_CHANGES
 
-    conf.CHECK_COMMAND(['uname', '-a'],
-                       msg='Checking build system',
-                       define='BUILD_SYSTEM',
-                       on_target=False)
     conf.CHECK_UNAME()
 
     # see if we can compile and run a simple C program
index adee3887d98fdf723d2913debee73d76e80d9235..431fbad31390cf6693274419cb5f0b0ec1bde3b4 100644 (file)
@@ -323,9 +323,6 @@ static void show_build(void)
 
        printf("Samba version: %s\n", SAMBA_VERSION_STRING);
        printf("Build environment:\n");
-#ifdef BUILD_SYSTEM
-       printf("   Build host:  %s\n", BUILD_SYSTEM);
-#endif
 
        printf("Paths:\n");
        for (i=0; config_options[i].name; i++) {