summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-09-15 19:37:24 +0300
committerTor Lillqvist <tml@collabora.com>2016-09-16 10:36:29 +0300
commit7b660e1423554928350e1de2cd4cb7eb577a27ec (patch)
tree6e4382b3a177bd6648a25445950aeda41e6514e5 /solenv
parentb755094c831d449aba37eaf53e4f6e28b9ee5ad9 (diff)
Either -O2 is broken in Apple Clang, or some of our code is broken
Already with Xcode 7.3.1 some unit tests crash when the code is built with full optimisation. Xcode 8 did not help. So use -O1. Yeah, this sucks. Don't have time to investigate in detail. Change-Id: I0cffad1a3ee3ee86b61eca3c856476133125049b
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/macosx.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk
index bacd7942e4ec..01adafbd9994 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