aboutsummaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 4117169f3a..3e577bbcf0 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -200,7 +200,11 @@ install-bytecode:: install-bytecode-local
# OPTIMIZE_OPTION - The optimization level option we want to build LLVM with
# this can be overridden on the make command line.
-OPTIMIZE_OPTION := -O3
+ifneq ($(OS),MingW)
+ OPTIMIZE_OPTION := -O3
+else
+ OPTIMIZE_OPTION := -O2
+endif
ifdef ENABLE_PROFILING
BuildMode := Profile