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
commit2e30e1e19507ead09ed955df51a21281bcf3ac88 (patch)
treeda6e488fde26df6374bb18271ea81fb09a20e701 /win32
parentf9926b10e9205923d4fd70f7cb4c7c0cb241d185 (diff)
downloadperl-2e30e1e19507ead09ed955df51a21281bcf3ac88.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