]> granicus.if.org Git - ipset/commitdiff
Compiler flag compatibility fix with libmnl
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 10 Dec 2010 22:02:30 +0000 (23:02 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Fri, 10 Dec 2010 22:02:30 +0000 (23:02 +0100)
libmnl now uses void pointer arithmetic, remove -Wpointer-arith from
the compiler flags.

Make_global.am

index 48812c0a0cbfa6b4b8b25fcfbf8bf5be84ed8c6e..fe4d9a02897dab8f7ea8ce969b72a053c0e9b88a 100644 (file)
@@ -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 \