From 9fe2cd720ea3af8294c099a1a2090f6e490994f9 Mon Sep 17 00:00:00 2001 From: Varg Date: Mon, 9 Sep 2024 01:29:18 +0200 Subject: [PATCH] Restore -O1 for debug builds --- src/qsplib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qsplib/CMakeLists.txt b/src/qsplib/CMakeLists.txt index e7445cb..5e93a24 100644 --- a/src/qsplib/CMakeLists.txt +++ b/src/qsplib/CMakeLists.txt @@ -61,7 +61,7 @@ set_target_properties(qsp-engine-debug PROPERTIES LINK_FLAGS "-Wno-parentheses \ -Wdeprecated-non-prototype \ -fsanitize=address \ -gsource-map \ - -O3 \ + -O1 \ -sASSERTIONS \ -s EXPORT_ES6=1 \ -s WASM=1 \