diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-17 12:50:42 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-17 12:59:41 +0300 |
commit | 04c3f6fe60c9406faf0867922eca8cd64a3bd19f (patch) | |
tree | 075b9f971fa8bc4120adfc09208b60404828f15c | |
parent | fee4efcb54c8162955f6fe626d9b68c3b74b3068 (diff) |
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
-rw-r--r-- | solenv/gbuild/platform/IOS_ARM_GCC.mk | 2 |
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 |