diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2018-08-24 15:38:01 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2018-08-24 15:38:01 +0100 |
commit | b969270adb0df137aeb78e262893542111ff6aac (patch) | |
tree | 53fd623840e22f14c464321e5eb7ad0bf724ee52 /win32 | |
parent | b79cd7dfefcc16674b83ffdeb11687ea693b7845 (diff) | |
download | perl-b969270adb0df137aeb78e262893542111ff6aac.tar.gz |
Tidy up Windows makefiles' handling of CCTYPE=SDK2003SP1
As noted in the comments at the top of each makefile, and again in the
README.win32, we only intended to support the 64-bit compiler, which was
the earliest MSVC x64 compiler available since neither VC6 nor VC7 had one.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/GNUmakefile | 6 | ||||
-rw-r--r-- | win32/Makefile | 6 | ||||
-rw-r--r-- | win32/makefile.mk | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/win32/GNUmakefile b/win32/GNUmakefile index 8297cb5cc2..c6ae9e2cce 100644 --- a/win32/GNUmakefile +++ b/win32/GNUmakefile @@ -166,7 +166,7 @@ DEFAULT_INC_EXCLUDES_DOT := define #CCTYPE := MSVC70 # Visual C++ Toolkit 2003 (aka Visual C++ 7.1) (free command-line tools) #CCTYPE := MSVC70FREE -# Windows Server 2003 SP1 Platform SDK (April 2005) +# Windows Server 2003 SP1 Platform SDK (April 2005) (64-bit compiler and tools) #CCTYPE := SDK2003SP1 # Visual C++ 2005 (aka Visual C++ 8.0) (full version or Express Edition) #CCTYPE := MSVC80 @@ -800,11 +800,11 @@ ifeq ($(__ICC),define) LIBBASEFILES += libircmt.lib libmmd.lib endif -# The 64 bit Windows Server 2003 SP1 SDK compilers link against MSVCRT.dll, which +# The Windows Server 2003 SP1 SDK compiler links against MSVCRT.dll, which # doesn't include the buffer overrun verification code used by the /GS switch. # Since the code links against libraries that are compiled with /GS, this # "security cookie verification" code must be included via bufferoverflow.lib. -ifeq ("$(WIN64) $(CCTYPE)","define SDK2003SP1") +ifeq ($(CCTYPE),SDK2003SP1) LIBBASEFILES += bufferoverflowU.lib endif diff --git a/win32/Makefile b/win32/Makefile index 4b73fda9d0..9550c3fec8 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -117,7 +117,7 @@ DEFAULT_INC_EXCLUDES_DOT = define #CCTYPE = MSVC70 # Visual C++ Toolkit 2003 (aka Visual C++ 7.1) (free command-line tools) #CCTYPE = MSVC70FREE -# Windows Server 2003 SP1 Platform SDK (April 2005) +# Windows Server 2003 SP1 Platform SDK (April 2005) (64-bit compiler and tools) #CCTYPE = SDK2003SP1 # Visual C++ 2005 (aka Visual C++ 8.0) (full version or Express Edition) #CCTYPE = MSVC80 @@ -604,11 +604,11 @@ LIBBASEFILES = $(LIBBASEFILES) msvcrt.lib vcruntime.lib LIBBASEFILES = $(LIBBASEFILES) libircmt.lib libmmd.lib !ENDIF -# The 64 bit Windows Server 2003 SP1 SDK compilers link against MSVCRT.dll, which +# The Windows Server 2003 SP1 SDK compiler links against MSVCRT.dll, which # doesn't include the buffer overrun verification code used by the /GS switch. # Since the code links against libraries that are compiled with /GS, this # "security cookie verification" code must be included via bufferoverflow.lib. -!IF "$(WIN64)" == "define" && "$(CCTYPE)" == "SDK2003SP1" +!IF "$(CCTYPE)" == "SDK2003SP1" LIBBASEFILES = $(LIBBASEFILES) bufferoverflowU.lib !ENDIF diff --git a/win32/makefile.mk b/win32/makefile.mk index fba47bb8ab..b77a48a5fc 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -138,7 +138,7 @@ DEFAULT_INC_EXCLUDES_DOT *= define #CCTYPE *= MSVC70 # Visual C++ Toolkit 2003 (aka Visual C++ 7.1) (free command-line tools) #CCTYPE *= MSVC70FREE -# Windows Server 2003 SP1 Platform SDK (April 2005) +# Windows Server 2003 SP1 Platform SDK (April 2005) (64-bit compiler and tools) #CCTYPE = SDK2003SP1 # Visual C++ 2005 (aka Visual C++ 8.0) (full version or Express Edition) #CCTYPE *= MSVC80 @@ -769,11 +769,11 @@ LIBBASEFILES += msvcrt.lib vcruntime.lib LIBBASEFILES += libircmt.lib libmmd.lib .ENDIF -# The 64 bit Windows Server 2003 SP1 SDK compilers link against MSVCRT.dll, which +# The Windows Server 2003 SP1 SDK compiler links against MSVCRT.dll, which # doesn't include the buffer overrun verification code used by the /GS switch. # Since the code links against libraries that are compiled with /GS, this # "security cookie verification" code must be included via bufferoverflow.lib. -.IF "$(WIN64)" == "define" && "$(CCTYPE)" == "SDK2003SP1" +.IF "$(CCTYPE)" == "SDK2003SP1" LIBBASEFILES += bufferoverflowU.lib .ENDIF |