summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-12-10 23:02:30 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-12-10 23:02:30 +0100
commit834f20138660369342cea889e8ce81bccf3ab976 (patch)
treec1b0da5b100afcadd6a70a95fd07141f1fc60ba8
parent36266d901666786ed314641fa6d02ea1140dc167 (diff)
Compiler flag compatibility fix with libmnl
libmnl now uses void pointer arithmetic, remove -Wpointer-arith from the compiler flags.
-rw-r--r--Make_global.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Make_global.am b/Make_global.am
index 48812c0..fe4d9a0 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 \