summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2005-06-14 07:42:33 +0000
committerSteve Hay <SteveHay@planit.com>2005-06-14 07:42:33 +0000
commitd87199df46f77085c91c6d6980173648d0484898 (patch)
treeda6e488fde26df6374bb18271ea81fb09a20e701 /win32
parent94493edc2d9c4d148b6c58f19456370444782c9a (diff)
downloadperl-d87199df46f77085c91c6d6980173648d0484898.tar.gz
Add BUILDOPTEXTRA to Win32 makefiles
This allows extra build options, e.g. -DNO_HASH_SEED, to be specified on the command line, which is otherwise not possible under nmake using the existing BUILDOPT macro Suggested by Jan Dubois <jand@ActiveState.com> p4raw-id: //depot/perl@24830
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile1
-rw-r--r--win32/makefile.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/win32/Makefile b/win32/Makefile
index 33ddc80de9..3dfdd9c4e9 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -167,6 +167,7 @@ CCLIBDIR = $(CCHOME)\lib
#
# Additional compiler flags can be specified here.
#
+BUILDOPT = $(BUILDOPTEXTRA)
#
# Adding -DPERL_HASH_SEED_EXPLICIT will disable randomization of Perl's
diff --git a/win32/makefile.mk b/win32/makefile.mk
index 66ebf55b00..a338c7d33a 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -192,6 +192,7 @@ CCLIBDIR *= $(CCHOME)\lib
#
# Additional compiler flags can be specified here.
#
+BUILDOPT *= $(BUILDOPTEXTRA)
#
# Adding -DPERL_HASH_SEED_EXPLICIT will disable randomization of Perl's