mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-08 18:43:21 +01:00
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]>
15 lines
311 B
Python
15 lines
311 B
Python
CFLAGS_gtk += -fPIC $(GTK_CFLAGS) -Wno-deprecated-declarations
|
|
|
|
gtk-y += browser.o
|
|
gtk-y += hists.o
|
|
gtk-y += setup.o
|
|
gtk-y += util.o
|
|
gtk-y += helpline.o
|
|
gtk-y += progress.o
|
|
gtk-y += annotate.o
|
|
gtk-y += zalloc.o
|
|
|
|
$(OUTPUT)ui/gtk/zalloc.o: ../lib/zalloc.c FORCE
|
|
$(call rule_mkdir)
|
|
$(call if_changed_dep,cc_o_c)
|