summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt7
1 files changed, 1 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bb382430e..50bc769cf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -258,12 +258,7 @@ else()
endif()
add_debug_compile_flag("-O0")
add_debug_compile_flag("-g3")
- if(EMSCRIPTEN)
- # really focus on minimizing output size when compiling sources
- add_nondebug_compile_flag("-Oz")
- else()
- add_nondebug_compile_flag("-O2")
- endif()
+ add_nondebug_compile_flag("-O2")
if(BYN_ENABLE_ASSERTIONS)
# On non-Debug builds cmake automatically defines NDEBUG, so we
# explicitly undefine it: