summaryrefslogtreecommitdiffstats
path: root/make/msvc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/msvc.mk')
-rw-r--r--make/msvc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/msvc.mk b/make/msvc.mk
index 5e3bb570..bef53957 100644
--- a/make/msvc.mk
+++ b/make/msvc.mk
@@ -27,7 +27,7 @@ clean::
# 1 2
# Usage: $(call compile,src,includes)
define compile
- cl /nologo /Zi /Gy /EHsc /MD /TP /GR $(CPPFLAGS) $(CXXFLAGS) \
+ cl /nologo /O2 /Zi /Gy /EHsc /MD /TP /GR $(CPPFLAGS) $(CXXFLAGS) \
$(foreach I,$(2),-I$(I)) \
/c $(1) /Fo$(call src_to_obj,$(1))
endef