From c3c01b4bd500a467627a8892ff41a46b3b03be2b Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 4 Jun 2020 03:31:12 +0200 Subject: cython: Add "-Wno-cast-function-type" flag to silence warnings with GCC 8+ --- cython/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cython') diff --git a/cython/Makefile.am b/cython/Makefile.am index 6aeaf08..4dbd6fa 100644 --- a/cython/Makefile.am +++ b/cython/Makefile.am @@ -37,7 +37,7 @@ EXTRA_DIST = imobiledevice.pyx imobiledevice.pxd $(PXIINCLUDES) imobiledevicedir = $(pyexecdir) imobiledevice_LTLIBRARIES = imobiledevice.la imobiledevice_la_SOURCES = imobiledevice.pyx -imobiledevice_la_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src $(PYTHON_CPPFLAGS) $(AM_CFLAGS) -Wno-shadow -Wno-redundant-decls -Wno-switch-default -Wno-strict-aliasing -Wno-implicit-function-declaration -fvisibility=default +imobiledevice_la_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src $(PYTHON_CPPFLAGS) $(AM_CFLAGS) -Wno-shadow -Wno-redundant-decls -Wno-switch-default -Wno-strict-aliasing -Wno-implicit-function-declaration -Wno-cast-function-type -fvisibility=default imobiledevice_la_LDFLAGS = -module -avoid-version -L$(libdir) $(PYTHON_LIBS) $(AM_LIBS) -no-undefined imobiledevice_la_LIBADD = $(top_builddir)/src/libimobiledevice.la -- cgit v1.1-32-gdbae