aboutsummaryrefslogtreecommitdiffstats
path: root/build/internal
diff options
context:
space:
mode:
authorDaniil Cherednik <dcherednik@ydb.tech>2024-06-21 12:13:49 +0200
committerGitHub <noreply@github.com>2024-06-21 13:13:49 +0300
commit6239f14a10492adc31f47d2c25bee270211adfa1 (patch)
tree71c840c4981bb980bd1ded746725346a2130300d /build/internal
parent0088409a18b26024bcb3d28ad9b4b8d26d612644 (diff)
downloadydb-6239f14a10492adc31f47d2c25bee270211adfa1.tar.gz
Set no-omit-frame-pointer by default (#5688)
The current way of development require to rebuild binary to get flame graph for performance analysis, it make performance analysis difficult. So set no-omit-frame-pointer allows to get flame graph easily.
Diffstat (limited to 'build/internal')
-rw-r--r--build/internal/ya.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/internal/ya.conf b/build/internal/ya.conf
index 81be41d837..80762cfc58 100644
--- a/build/internal/ya.conf
+++ b/build/internal/ya.conf
@@ -11,6 +11,7 @@ USE_AIO = "static"
USE_ICONV = "static"
USE_IDN = "static"
APPLE_SDK_LOCAL = "yes"
+CFLAGS = "-fno-omit-frame-pointer"
[flags]
OPENSOURCE = "yes"
@@ -19,3 +20,4 @@ USE_AIO = "static"
USE_ICONV = "static"
USE_IDN = "static"
APPLE_SDK_LOCAL = "yes"
+CFLAGS = "-fno-omit-frame-pointer"