Commit 35a299c2 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

(MSVC 2005) We need to embed MSVCR runtime into the DLL for better

compatibility
parent 1846c735
Pipeline #16191 passed with stages
in 6 minutes and 37 seconds
......@@ -548,37 +548,27 @@ SHARED=
endif
ifeq ($(DEBUG), 1)
ifneq (,$(findstring msvc,$(platform)))
ifeq ($(STATIC_LINKING),1)
CFLAGS += -MTd
CXXFLAGS += -MTd
CFLAGS += -MTd
CXXFLAGS += -MTd
CFLAGS += -Od -Zi -D_DEBUG
CXXFLAGS += -Od -Zi -D_DEBUG
else
CFLAGS += -MDd
CXXFLAGS += -MDd
CFLAGS += -O0 -g
CXXFLAGS += -O0 -g
endif
CFLAGS += -Od -Zi -DDEBUG -D_DEBUG
CXXFLAGS += -Od -Zi -DDEBUG -D_DEBUG
else
CFLAGS += -O0 -g -DDEBUG
CXXFLAGS += -O0 -g -DDEBUG
endif
CFLAGS += -DDEBUG
CXXFLAGS += -DDEBUG
else
ifneq (,$(findstring msvc,$(platform)))
ifeq ($(STATIC_LINKING),1)
CFLAGS += -MT
CXXFLAGS += -MT
else
CFLAGS += -MD
CXXFLAGS += -MD
CFLAGS += -MT
CXXFLAGS += -MT
endif
CFLAGS += -O2 -DNDEBUG
CFLAGS += -O2 -DNDEBUG
CXXFLAGS += -O2 -DNDEBUG
else
CFLAGS += -O2 -DNDEBUG
CXXFLAGS += -O2 -DNDEBUG
endif
endif
CORE_DIR := .
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment