From: Jozsef Kadlecsik Date: Fri, 10 Dec 2010 22:02:30 +0000 (+0100) Subject: Compiler flag compatibility fix with libmnl X-Git-Tag: v5.0~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=834f20138660369342cea889e8ce81bccf3ab976;p=thirdparty%2Fipset.git Compiler flag compatibility fix with libmnl libmnl now uses void pointer arithmetic, remove -Wpointer-arith from the compiler flags. --- diff --git a/Make_global.am b/Make_global.am index 48812c0a..fe4d9a02 100644 --- a/Make_global.am +++ b/Make_global.am @@ -9,6 +9,7 @@ AM_CPPFLAGS = $(kinclude_CFLAGS) $(all_includes) -I$(top_srcdir)/include \ # -Wconversion -> we need it # -Wunreachable-code -> fails with ntoh* +# -Wpointer-arith -> limbnl uses it if DISABLE_EXTRA_FLAGS AM_CFLAGS = @@ -32,7 +33,6 @@ AM_CFLAGS = -std=gnu99 \ -Wold-style-definition \ -Woverlength-strings \ -Wpacked \ - -Wpointer-arith \ -Wredundant-decls \ -Wshadow \ -Wsign-compare \