--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,11 +10,7 @@ if(MSVC)
   set(COMPILE_DEFINITIONS /O2 /fp:fast)
 else()
   list(APPEND COMPILE_OPTIONS -Wall -Wextra -Wzero-as-null-pointer-constant -Wno-unknown-pragmas)
-  if(EMSCRIPTEN)
-    list(APPEND COMPILE_OPTIONS -O3)
-  else()
-    list(APPEND COMPILE_OPTIONS -Ofast)
-  endif()
+  list(APPEND COMPILE_OPTIONS -O3)
 endif()
 
 #####################
