diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-01 20:37:13 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-07 23:09:56 +0300 |
commit | 81d657f351650b17b05704c65abc2863473761dc (patch) | |
tree | 0fde79952ec065b710965dd264a6bb5da858c48c /solenv | |
parent | ca576e0804324bbb36b697543cbe992e34d4b951 (diff) |
Try again to use -O2 but keep -Oy- this time
Change-Id: Iee396f289df4dc4134c30e6b6b1126d2745c1f6f
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/com_MSC_defs.mk | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk index e4ff2bbc2edf..b57dad02681b 100644 --- a/solenv/gbuild/platform/com_MSC_defs.mk +++ b/solenv/gbuild/platform/com_MSC_defs.mk @@ -275,16 +275,7 @@ gb_CFLAGS+=$(gb_DEBUG_CFLAGS) gb_CXXFLAGS+=$(gb_DEBUG_CFLAGS) endif -# The optimisation options here might seem like micro-management (see -# http://www.ffuts.org/blog/dont-spend-time-micromanaging-optimization-options-in-visual-c/ -# ), and the exact rationale for this selection of options for -# gb_COMPILEROPTFLAGS is probably lost in history. We used -Ob1 -Oxs -# -Oy- already in OOo 3.2 at least. - -# Anyway, changing it to just -O2 broke unit tests. So there must be -# some reason for this particular choice. And if you want to change it -# to something simpler, please run a full make check;) -gb_COMPILEROPTFLAGS := -Ob1 -Oxs -Oy- +gb_COMPILEROPTFLAGS := -O2 -Oy- gb_COMPILERNOOPTFLAGS := -Od ifeq ($(gb_FULLDEPS),$(true)) |