From a63f56a85f9e97de0359a2e597de3f797a0b3194 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 12 Feb 2021 01:49:00 +0100 Subject: Silence some warnings that popped up with MSVC --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index acbc259..d226ff5 100644 --- a/Makefile +++ b/Makefile @@ -344,6 +344,8 @@ LIBRETRO_DIR := ./libretro ifeq ($(DEBUG), 1) DEFINES += -O0 -g +else ifneq (,$(findstring msvc,$(platform))) +DEFINES += -O2 -DNDEBUG=1 else DEFINES += -O3 -DNDEBUG=1 endif -- cgit v1.2.3