From: Steve Hay Date: Thu, 31 Mar 2005 10:01:18 +0000 (+0000) Subject: Add support for PERL_HASH_SEED_EXPLICIT and NO_HASH_SEED in the X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2eb87578b6bf9c2a989b418d4847ad2dfbec21d8;p=p5sagit%2Fp5-mst-13.2.git Add support for PERL_HASH_SEED_EXPLICIT and NO_HASH_SEED in the Win32 makefiles p4raw-id: //depot/perl@24113 --- diff --git a/win32/Makefile b/win32/Makefile index 93bcd87..d63d602 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -160,6 +160,15 @@ CCLIBDIR = $(CCHOME)\lib # Additional compiler flags can be specified here. # +# Adding -DPERL_HASH_SEED_EXPLICIT will disable randomization of Perl's +# internal hash function unless the PERL_HASH_SEED environment variable is set. +# Alternatively, adding -DNO_HASH_SEED will completely disable the +# randomization feature. +# The latter is required to maintain binary compatibility with Perl 5.8.0. +# +#BUILDOPT = $(BUILDOPT) -DPERL_HASH_SEED_EXPLICIT +#BUILDOPT = $(BUILDOPT) -DNO_HASH_SEED + # # This should normally be disabled. Adding -DPERL_POLLUTE enables support # for old symbols by default, at the expense of extreme pollution. You most diff --git a/win32/makefile.mk b/win32/makefile.mk index 9159f1d..9e11fec 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -186,6 +186,16 @@ CCLIBDIR *= $(CCHOME)\lib # # +# Adding -DPERL_HASH_SEED_EXPLICIT will disable randomization of Perl's +# internal hash function unless the PERL_HASH_SEED environment variable is set. +# Alternatively, adding -DNO_HASH_SEED will completely disable the +# randomization feature. +# The latter is required to maintain binary compatibility with Perl 5.8.0. +# +#BUILDOPT += -DPERL_HASH_SEED_EXPLICIT +#BUILDOPT += -DNO_HASH_SEED + +# # This should normally be disabled. Adding -DPERL_POLLUTE enables support # for old symbols by default, at the expense of extreme pollution. You most # probably just want to build modules that won't compile with