From 3db1e068d6e147cfaf6fe02aa9a62667380c672e Mon Sep 17 00:00:00 2001
From: dmitry <dmitry.puzyrkov@demlabs.net>
Date: Mon, 2 Sep 2024 19:19:20 +0700
Subject: [PATCH] [*] CELLFRAME_NO_OPTIMIZATION for qt-based projects

---
 cellframe-sdk.pro | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cellframe-sdk.pro b/cellframe-sdk.pro
index 3df384da83..e553962e9a 100644
--- a/cellframe-sdk.pro
+++ b/cellframe-sdk.pro
@@ -2,8 +2,8 @@ TEMPLATE = aux
 
 
 linux: !android {
-    CONFIG(debug, debug | release): sdk_build.commands = $$PWD/../cellframe-sdk/prod_build/build.sh --target linux rwd -DINSTALL_SDK=1 -DCMAKE_INSTALL_PREFIX=/
-    CONFIG(release, debug | release): sdk_build.commands = $$PWD/../cellframe-sdk/prod_build/build.sh --target linux release -DINSTALL_SDK=1 -DCMAKE_INSTALL_PREFIX=/
+    CONFIG(debug, debug | release): sdk_build.commands = $$PWD/../cellframe-sdk/prod_build/build.sh --target linux rwd -DINSTALL_SDK=1 -DCMAKE_INSTALL_PREFIX=/ -DCELLFRAME_NO_OPTIMIZATION=1
+    CONFIG(release, debug | release): sdk_build.commands = $$PWD/../cellframe-sdk/prod_build/build.sh --target linux release -DINSTALL_SDK=1 -DCMAKE_INSTALL_PREFIX=/ -DCELLFRAME_NO_OPTIMIZATION=1
 
 }
 
-- 
GitLab