From: Steve Hay Date: Tue, 14 Jun 2005 07:42:33 +0000 (+0000) Subject: Add BUILDOPTEXTRA to Win32 makefiles X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2e30e1e19507ead09ed955df51a21281bcf3ac88;p=p5sagit%2Fp5-mst-13.2.git 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 p4raw-id: //depot/perl@24830 --- diff --git a/win32/Makefile b/win32/Makefile index 33ddc80..3dfdd9c 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 66ebf55..a338c7d 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