1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-21 09:34:19 +03:00

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>
This commit is contained in:
Stefan Metzmacher 2022-03-28 12:59:12 +02:00 committed by Andrew Bartlett
parent a6b1e4b576
commit 22c46d9f41
10 changed files with 58 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# simple makefile wrapper to run waf
WAF_BINARY=BUILDTOOLS/bin/waf
WAF=WAF_MAKE=1 $(WAF_BINARY)
WAF_BINARY=$(PYTHON) BUILDTOOLS/bin/waf
WAF=PYTHONHASHSEED=1 WAF_MAKE=1 $(WAF_BINARY)
all:
$(WAF) build

View File

@ -1,6 +1,6 @@
#!/bin/sh
PREVPATH=`dirname $0`
PREVPATH=$(dirname $0)
WAF=BUILDTOOLS/bin/waf
@ -9,6 +9,13 @@ WAF=BUILDTOOLS/bin/waf
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 BUILDPATH || exit 1
$WAF configure "$@" || exit 1
$PYTHON $WAF configure "$@" || exit 1
cd $PREVPATH

4
configure vendored
View File

@ -12,6 +12,10 @@ 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

View File

@ -1,7 +1,7 @@
# simple makefile wrapper to run waf
WAF_BINARY=$(PYTHON) ../buildtools/bin/waf
WAF=WAF_MAKE=1 $(WAF_BINARY)
WAF=PYTHONHASHSEED=1 WAF_MAKE=1 $(WAF_BINARY)
all:
$(WAF) build

7
ctdb/configure vendored
View File

@ -10,6 +10,13 @@ WAF=buildtools/bin/waf
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

7
lib/ldb/configure vendored
View File

@ -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

View File

@ -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

View File

@ -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

7
lib/tdb/configure vendored
View File

@ -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

View File

@ -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