diff options
author | Jiri Olsa <[email protected]> | 2020-01-13 11:43:58 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-01-14 12:40:33 -0300 |
commit | 93e843f95f095aeb533ab67ac4718f848d38dfa0 (patch) | |
tree | e65674e54b34066e03d9dff3917620c4aa1434fe /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 604e2139a1026793b8c2172bd92c7e9d039a5cf0 (diff) |
perf/ui/gtk: Fix gtk2 build
Ravi Bangoria reported an issue when doing the gtk2 feature detection on
Fedora 31, where some types got deprecated:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: error: ‘GTypeDebugFlags’ is deprecated [-Werror=deprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
Fix this for perf by allowing the compile to pass with deprecated
symbols via the -Wno-deprecated-declarations compiler directive.
Reported-by: Ravi Bangoria <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Tested-by: Ravi Bangoria <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jelle van der Waa <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions