diff options
author | Tor Lillqvist <tml@collabora.com> | 2023-02-13 14:54:24 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2023-02-16 21:27:14 +0000 |
commit | 49445ccb891c6eb85b1d644c975c1b092ef00e43 (patch) | |
tree | 1867afff3f3ba4dfc48ce618612cf7f274123b96 /solenv | |
parent | df5995b0bf9db2a68dc64f0dda1cc74ab222a1f2 (diff) |
Use -O3 for Emscripten, seems to work
Change-Id: I7effd75355ff81e6d4f85b1c6047c7656bfbb915
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147006
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/EMSCRIPTEN_INTEL_GCC.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/EMSCRIPTEN_INTEL_GCC.mk b/solenv/gbuild/platform/EMSCRIPTEN_INTEL_GCC.mk index 4ae925daf5d1..a69539b65403 100644 --- a/solenv/gbuild/platform/EMSCRIPTEN_INTEL_GCC.mk +++ b/solenv/gbuild/platform/EMSCRIPTEN_INTEL_GCC.mk @@ -71,6 +71,8 @@ ifeq ($(HAVE_EXTERNAL_DWARF),TRUE) gb_DEBUGINFO_FLAGS += -gseparate-dwarf endif +gb_COMPILEROPTFLAGS := -O3 + # We need at least code elimination, otherwise linking OOMs even with 64GB. # So we "fake" -Og support to mean -O1 for Emscripten and always enable it for debug in configure. gb_COMPILERDEBUGOPTFLAGS := -O1 |