diff options
Diffstat (limited to '')
-rwxr-xr-x | source/n/samba/samba.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/n/samba/samba.SlackBuild b/source/n/samba/samba.SlackBuild index 0761cb69d..47551db60 100755 --- a/source/n/samba/samba.SlackBuild +++ b/source/n/samba/samba.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2012, 2013, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2008, 2009, 2010, 2012, 2013, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -152,7 +152,7 @@ CFLAGS="$SLKCFLAGS" \ # Build with waf directly so that multiple jobs work. # Script lifted from "./configure". -PREVPATH=`dirname $0` +PREVPATH=$(dirname $0) WAF=./buildtools/bin/waf # using JOBS=1 gives maximum compatibility with # systems like AIX which have broken threading in python @@ -160,6 +160,9 @@ JOBS=$(echo $NUMJOBS | tr -dc '0-9') 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:=python3} $WAF build "$@" || exit 1 cd $PREVPATH @@ -240,4 +243,3 @@ EOF cd $PKG /sbin/makepkg -l y -c n $TMP/samba-$VERSION-$ARCH-$BUILD.txz - |