summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2022-03-28 12:59:12 +0200
committerAndrew Bartlett <abartlet@samba.org>2022-03-29 22:32:32 +0000
commit22c46d9f41876d9ec7187148e658d1692bf37cdd (patch)
tree7af663a64c78a033fbbe4b7cf5e01ecb8135bb17 /lib/replace
parenta6b1e4b5766205b7337e0e4b00944184289bfc36 (diff)
downloadsamba-22c46d9f41876d9ec7187148e658d1692bf37cdd.tar.gz
configure/Makefile: export PYTHONHASHSEED=1 in all 'configure/Makefile' scripts
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/replace')
-rwxr-xr-xlib/replace/configure7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/replace/configure b/lib/replace/configure
index d0ab6685fbe..af761854ef4 100755
--- a/lib/replace/configure
+++ b/lib/replace/configure
@@ -16,6 +16,13 @@ fi
JOBS=1
export JOBS
+# Make sure we don't have any library preloaded.
+unset LD_PRELOAD
+
+# Make sure we get stable hashes
+PYTHONHASHSEED=1
+export PYTHONHASHSEED
+
cd . || exit 1
$PYTHON $WAF configure "$@" || exit 1
cd $PREVPATH