X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2FMakefile.am;h=aec0770bdcb3db5d819a4d083c7312f740311b5a;hb=92e41f9132ac72f234deb2f39f2eae0b1858cfc0;hp=c8e3eb44ae99e391fba19fccd46b1d7048a00a9a;hpb=0b0893d4a069f17d1326ebc3bfc9f9f987f411f3;p=babeltrace.git diff --git a/src/bindings/python/bt2/Makefile.am b/src/bindings/python/bt2/Makefile.am index c8e3eb44..aec0770b 100644 --- a/src/bindings/python/bt2/Makefile.am +++ b/src/bindings/python/bt2/Makefile.am @@ -119,6 +119,9 @@ WARN_CFLAGS += -Wno-null-dereference # code. WARN_CFLAGS += -Wno-deprecated-declarations +# Python 3.11 + gcc 12.2.0 gave warnings of this kind in Python.h. +WARN_CFLAGS += -Wno-redundant-decls + BUILD_FLAGS=CC="$(CC)" \ CFLAGS="$(GLIB_CFLAGS) $(AM_CFLAGS) $(CFLAGS) $(WARN_CFLAGS)" \ CPPFLAGS="$(AM_CPPFLAGS) $(CPPFLAGS) -I$(srcdir)/bt2" \