aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnermolaev <snermolaev@yandex-team.com>2024-03-07 07:02:19 +0300
committersnermolaev <snermolaev@yandex-team.com>2024-03-07 07:17:19 +0300
commitf4afd69d55c2352430adee23b6b5d7ed93cc3b0d (patch)
tree094f77cfbbcef60dc4dd0cc212c505ecb4425992
parent4dc63fc585b6d17b7da64c6ad1b7c02bab04a4de (diff)
downloadydb-f4afd69d55c2352430adee23b6b5d7ed93cc3b0d.tar.gz
fix DWARF_COMMAND for Linux
7df60c66e7dcef39c4301f85ba116c035691128f
-rw-r--r--build/ymake.core.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index ebdbf4c01b..7d5382572d 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -2568,7 +2568,7 @@ macro NO_SPLIT_DWARF() {
SPLIT_DWARF_OUTPUT=${output;tobindir;pre=$MODULE_PREFIX;suf=$MODULE_SUFFIX.debug:REALPRJNAME}
when ($SPLIT_DWARF_VALUE == "yes" && $NO_SPLIT_DWARF != "yes" && $NO_DEBUGINFO != "yes" && $HOST_OS_LINUX == "yes" && $TARGET_PLATFORM == "LINUX") {
- DWARF_COMMAND+= \
+ DWARF_COMMAND= \
$OBJCOPY_TOOL --only-keep-debug $TARGET $SPLIT_DWARF_OUTPUT && \
$STRIP_TOOL --strip-debug $TARGET && \
$OBJCOPY_TOOL --remove-section=.gnu_debuglink --add-gnu-debuglink $SPLIT_DWARF_OUTPUT $TARGET