net/samba41[23]: set PYTHONHASHSEED during build

The build with CCACHE can be significantly sped up by passing
PYTHONHASHSEED=1 in the environment to make the build reproducible
with regard to the compiler commands issued.

PR:		262092
Reported by:	chris at chrullrich.net (Christian Ullrich)
This commit is contained in:
Stefan Eßer
2022-03-11 16:00:50 +01:00
parent 982e968ef6
commit 243bc13412
2 changed files with 2 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ CONFIGURE_ARGS+= --mandir="${MANPREFIX}/man" \
--with-logfilebase="${SAMBA4_LOGDIR}"
# XXX: Flags
CONFIGURE_ENV+= PTHREAD_LDFLAGS="-lpthread"
MAKE_ENV+= PYTHONHASHSEED=1
USES+= compiler:c++11-lang iconv localbase:ldflags \
perl5 pkgconfig shebangfix ssl waf gettext-runtime

View File

@@ -66,6 +66,7 @@ CONFIGURE_ARGS+= --mandir="${MANPREFIX}/man" \
--with-logfilebase="${SAMBA4_LOGDIR}"
# XXX: Flags
CONFIGURE_ENV+= PTHREAD_LDFLAGS="-lpthread"
MAKE_ENV+= PYTHONHASHSEED=1
USES+= compiler:c++11-lang iconv localbase:ldflags \
perl5 pkgconfig shebangfix waf gettext-runtime