diff options
author | Steve Hay <SteveHay@planit.com> | 2005-03-31 10:01:18 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2005-03-31 10:01:18 +0000 |
commit | 2eb87578b6bf9c2a989b418d4847ad2dfbec21d8 (patch) | |
tree | 6ccaf6c7d4ff49f5f97f31b86b41d7bd12d5dde9 /win32 | |
parent | febff313fdb0c981cad2c773917ba2b9ee12c10f (diff) | |
download | perl-2eb87578b6bf9c2a989b418d4847ad2dfbec21d8.tar.gz |
Add support for PERL_HASH_SEED_EXPLICIT and NO_HASH_SEED in the
Win32 makefiles
p4raw-id: //depot/perl@24113
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile | 9 | ||||
-rw-r--r-- | win32/makefile.mk | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/win32/Makefile b/win32/Makefile index 93bcd877b6..d63d6023b9 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 9159f1d386..9e11fec277 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 |