reprobuild: don't include build machine setup in binaries
The configure line can leak data from the building machine (path names, level of parallelism etc), which leads to non-reproducible build results. Change-Id: I042afc3d7bad19e8e274147be2a9eb0abcf5436e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158871 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
This commit is contained in:
parent
d2b0c48ca0
commit
389def8718
3 changed files with 1 additions and 16 deletions
|
@ -1,8 +0,0 @@
|
|||
/* Options passed to configure script */
|
||||
|
||||
#ifndef CONFIG_BUILDCONFIG_H
|
||||
#define CONFIG_BUILDCONFIG_H
|
||||
|
||||
#define BUILDCONFIG ""
|
||||
|
||||
#endif
|
|
@ -523,10 +523,6 @@ git_date=`git log -1 --pretty=format:"%cd" --date=format:'%Y' 2>&/dev/null`
|
|||
LIBO_THIS_YEAR=${git_date:-2023}
|
||||
AC_DEFINE_UNQUOTED(LIBO_THIS_YEAR,$LIBO_THIS_YEAR)
|
||||
|
||||
# replace backslashes, to get a valid c++ string
|
||||
config_args=$(echo $ac_configure_args | tr '\\' '/')
|
||||
AC_DEFINE_UNQUOTED([BUILDCONFIG],[["$config_args"]],[Options passed to configure script])
|
||||
|
||||
dnl ===================================================================
|
||||
dnl Product version
|
||||
dnl ===================================================================
|
||||
|
@ -15045,7 +15041,6 @@ AC_CONFIG_FILES([config_host.mk
|
|||
vs-code.code-workspace.template:.vscode/vs-code-template.code-workspace.in])
|
||||
|
||||
AC_CONFIG_HEADERS([config_host/config_atspi.h])
|
||||
AC_CONFIG_HEADERS([config_host/config_buildconfig.h])
|
||||
AC_CONFIG_HEADERS([config_host/config_buildid.h])
|
||||
AC_CONFIG_HEADERS([config_host/config_box2d.h])
|
||||
AC_CONFIG_HEADERS([config_host/config_clang.h])
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include <svx/sdr/contact/viewcontact.hxx>
|
||||
#include <svx/svdpage.hxx>
|
||||
#include <svx/svdpagv.hxx>
|
||||
#include <config_buildconfig.h>
|
||||
#include <config_cairo_rgba.h>
|
||||
#include <config_features.h>
|
||||
|
||||
|
@ -7243,8 +7242,7 @@ static char* lo_getVersionInfo(SAL_UNUSED_PARAMETER LibreOfficeKit* /*pThis*/)
|
|||
"\"ProductName\": \"%PRODUCTNAME\", "
|
||||
"\"ProductVersion\": \"%PRODUCTVERSION\", "
|
||||
"\"ProductExtension\": \"%PRODUCTEXTENSION\", "
|
||||
"\"BuildId\": \"%BUILDID\", "
|
||||
"\"BuildConfig\": \"" BUILDCONFIG "\" "
|
||||
"\"BuildId\": \"%BUILDID\" "
|
||||
"}"_ustr));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue