summaryrefslogtreecommitdiffstats
path: root/solenv
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-17 12:50:42 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-17 12:59:41 +0300
commit04c3f6fe60c9406faf0867922eca8cd64a3bd19f (patch)
tree075b9f971fa8bc4120adfc09208b60404828f15c /solenv
parentdbaccess: sal_Bool->bool (diff)
downloadcore-04c3f6fe60c9406faf0867922eca8cd64a3bd19f.tar.gz
core-04c3f6fe60c9406faf0867922eca8cd64a3bd19f.zip
Using -Oz causes crash, revert to Os
This is with the Xcode 5.1.1 tool-chain. Either a compiler bug, or some undefined behaviour in our code sensitive to compiler optimisation details. The crash we noticed was in sw/source/core/layout/paintfrm.cxx. (There might of course be more locations with similar behaviour.) Change-Id: I5d0f0aee369b2ca5fc77356f0a7cb88bec6cc58e
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/IOS_ARM_GCC.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/IOS_ARM_GCC.mk b/solenv/gbuild/platform/IOS_ARM_GCC.mk
index 27659c4e956a..a85a4b6188a4 100644
--- a/solenv/gbuild/platform/IOS_ARM_GCC.mk
+++ b/solenv/gbuild/platform/IOS_ARM_GCC.mk
@@ -26,7 +26,7 @@ ifeq ($(CXX),)
$(error You must set CXX in the environment. See README.cross for example.)
endif
-gb_COMPILERDEFAULTOPTFLAGS := -Oz
+gb_COMPILERDEFAULTOPTFLAGS := -Os
include $(GBUILDDIR)/platform/com_GCC_defs.mk