solenv/gbuild/platform/EMSCRIPTEN_INTEL_GCC.mk | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 4f07ec2d99c632356e3735400796ce4b823eb38d Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Mon Feb 13 14:54:24 2023 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Thu Feb 23 18:33:29 2023 +0000 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 <t...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147555 Tested-by: Tor Lillqvist <t...@collabora.com> 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