[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - solenv/gbuild
Tor Lillqvist
tml at collabora.com
Tue Aug 2 10:34:43 UTC 2016
solenv/gbuild/platform/macosx.mk | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 52393273558a68fb8e8e8b7a5da233c5e5c712f1
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Aug 2 13:27:43 2016 +0300
Seems that Clang in Xcode 7.3.1 produces broken code with -O2 in some cases
For instance CppunitTest_sw_mailmerge crashes when dbaccess is
compiled with -O2, but works fine with -O1.
Did not bother with any closer checks for Clang version for now in
this branch.
Change-Id: I7941e89af312f3102d8b2f4476e29deaaa4d966c
diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk
index 763c9785..361e202 100644
--- a/solenv/gbuild/platform/macosx.mk
+++ b/solenv/gbuild/platform/macosx.mk
@@ -22,6 +22,8 @@ export VCL_HIDE_WINDOWS=1
gb_SDKDIR := $(MACOSX_SDK_PATH)
+gb_COMPILEROPTFLAGS := -O1
+
include $(GBUILDDIR)/platform/com_GCC_defs.mk
# Darwin mktemp -t expects a prefix, not a pattern
More information about the Libreoffice-commits
mailing list