diff options
author | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2023-06-30 11:18:29 +0300 |
---|---|---|
committer | Philip Rebohle <25567304+doitsujin@users.noreply.github.com> | 2023-07-01 18:12:18 +0300 |
commit | 2ef41bdbf6841c2887e7af4b7c3b26235d3e7efa (patch) | |
tree | afc4a58199f9a77ba39fe8299d762307a3970eda | |
parent | 0f4458e173749187c3900533196bf0327bc9fe80 (diff) |
build: Switch symbols to DWARF 4
Since [1], Wine's supports and uses DWARF 4 as default. Make use of it, which
should fix inlined stacks and some other small details.
[1]: https://www.winehq.org/pipermail/wine-devel/2021-November/201333.html
-rw-r--r-- | meson.build | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meson.build b/meson.build index f465df9b..f4d15b60 100644 --- a/meson.build +++ b/meson.build @@ -57,11 +57,10 @@ if platform == 'windows' '-Wl,--file-alignment=4096', ] - # Wine's built-in back traces only work with dwarf2 symbols + # Wine's built-in back traces only work with dwarf4 symbols if get_option('debug') compiler_args += [ - '-gstrict-dwarf', - '-gdwarf-2', + '-gdwarf-4', ] endif |