solenv/gbuild/platform/EMSCRIPTEN_INTEL_GCC.mk |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 49445ccb891c6eb85b1d644c975c1b092ef00e43
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Mon Feb 13 14:54:24 2023 +0200
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Thu Feb 16 21:27:14 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>

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

Reply via email to