From b79b135fb04827cb5600dd9ced4972c2dd713b9d Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Thu, 3 Aug 2023 04:24:26 -0700 Subject: [PATCH] make: windows fixup --- makefiles/Makefile.port.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/makefiles/Makefile.port.mk b/makefiles/Makefile.port.mk index 2650112c777..a81397d1531 100644 --- a/makefiles/Makefile.port.mk +++ b/makefiles/Makefile.port.mk @@ -17,11 +17,11 @@ BACKSLASH_SPACE := $(empty)\ $(empty) # Let's discover something about where we run ifeq ($(OS),Windows_NT) -OS = Windows +OS := Windows endif ifeq ($(OS),Windows) - PLATFORM=WIN64 - SHELL = cmd.exe + PLATFORM := WIN64 + SHELL := cmd.exe endif # Unix specific part. @@ -164,7 +164,7 @@ ifneq ($(PLATFORM),WIN64) else # Windows specific part. # Check 64 bit. ifneq ("$(Platform)","x64") # Visual Studio 2019/2022 64 bit - $(warning "Only 64 bit compilation is supported") + $(error "Only 64 bit compilation is supported") else CPU = x64 endif