diff options
author | Tor Lillqvist <tml@collabora.com> | 2023-02-13 14:54:24 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2023-02-23 18:33:29 +0000 |
commit | 4f07ec2d99c632356e3735400796ce4b823eb38d (patch) | |
tree | 14d4f93422ed1425e5a51f8e0d3d518b8be96191 /solenv/gbuild | |
parent | 9fdb8d1230605ce57e4a2a8636b23005a22ea46a (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>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147555
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'solenv/gbuild')
-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 |