meson: Add no-omit-frame-pointer to clutter debug builds

This will help us getting better stacktraces and sysprof integration.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/601
This commit is contained in:
Robert Mader 2019-05-30 17:28:49 +02:00 committed by Georges Basile Stavracas Neto
parent 4887de533c
commit 0786683189

View File

@ -14,7 +14,8 @@ clutter_c_args = [
clutter_debug_c_args = []
if get_option('debug')
clutter_debug_c_args += [
'-DCLUTTER_ENABLE_DEBUG'
'-DCLUTTER_ENABLE_DEBUG',
'-fno-omit-frame-pointer'
]
elif buildtype != 'plain'
clutter_debug_c_args += [