diff options
author | Maksim Kita <kitaetoya@gmail.com> | 2023-05-18 11:02:14 +0000 |
---|---|---|
committer | maksim-kita <maksim-kita@yandex-team.com> | 2023-05-18 14:02:14 +0300 |
commit | b03f294082379cab1415d36249f7c6c0771c13a6 (patch) | |
tree | e535f955d19a946988cbb953d1d0d2dd28403bdb | |
parent | 2005969c81214d7815a9c5d5f7110ec5dd49945c (diff) | |
download | ydb-b03f294082379cab1415d36249f7c6c0771c13a6.tar.gz |
Linker symbols export fix
Linker symbols export fix
Pull Request resolved: #216
-rw-r--r-- | .github/actions/build/action.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 07c609a7ae..6b754d2b7a 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -19,9 +19,9 @@ runs: cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DCMAKE_TOOLCHAIN_FILE=../ydb/clang.toolchain \ - -DCMAKE_CXX_FLAGS="-fsanitize=${{ inputs.sanitizer }} -fno-omit-frame-pointer" \ - -DCMAKE_C_FLAGS="-fsanitize=${{ inputs.sanitizer }} -fno-omit-frame-pointer" \ - -DCMAKE_ENABLE_EXPORTS=true \ + -DCMAKE_CXX_FLAGS="-fsanitize=${{ inputs.sanitizer }} -g -fno-omit-frame-pointer" \ + -DCMAKE_C_FLAGS="-fsanitize=${{ inputs.sanitizer }} -g -fno-omit-frame-pointer" \ + -DCMAKE_EXE_LINKER_FLAGS="-rdynamic" \ ../ydb - name: Configure shell: bash @@ -33,7 +33,9 @@ runs: cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DCMAKE_TOOLCHAIN_FILE=../ydb/clang.toolchain \ - -DCMAKE_ENABLE_EXPORTS=true \ + -DCMAKE_CXX_FLAGS="-g" \ + -DCMAKE_C_FLAGS="-g" \ + -DCMAKE_EXE_LINKER_FLAGS="-rdynamic" \ ../ydb - name: Build shell: bash |