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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user