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 430d164..3b36b57 100644 (file)
@@ -313,10 +313,6 @@ def configure(conf):
 
     conf.env.GIT_LOCAL_CHANGES = Options.options.GIT_LOCAL_CHANGES
 
 
     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
     conf.CHECK_UNAME()
 
     # see if we can compile and run a simple C program
index adee388..431fbad 100644 (file)
@@ -323,9 +323,6 @@ static void show_build(void)
 
        printf("Samba version: %s\n", SAMBA_VERSION_STRING);
        printf("Build environment:\n");
 
        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++) {
 
        printf("Paths:\n");
        for (i=0; config_options[i].name; i++) {