summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
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