summaryrefslogtreecommitdiffstats
path: root/Make_global.am
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-06-29 21:14:40 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-06-29 21:14:40 +0200
commit8dd10256cb24ceade8b40bd1604f03ddac8589e2 (patch)
tree9b6e5deae0b5d349122c82b63019d6bb36a66aeb /Make_global.am
parent780f6384c5c6639da3f5a6ac8d30653e8a26d6c0 (diff)
ipset 5: Sparc related and compatibility fixesv5.0-pre5
ipset 5 is tested on Sparc, which revealed some compatibility issues and those are fixed. Kernels from 2.6.31 onward are supported. The testsuite checkings are completed to run match/target checks. The README file is updated to reflect the requirements to install and run ipset 5.
Diffstat (limited to 'Make_global.am')
-rw-r--r--Make_global.am12
1 files changed, 7 insertions, 5 deletions
diff --git a/Make_global.am b/Make_global.am
index 5b2ec6f..b2e57d6 100644
--- a/Make_global.am
+++ b/Make_global.am
@@ -7,9 +7,7 @@ LIBVERSION = 1:0:0
AM_CPPFLAGS = $(kinclude_CFLAGS) $(all_includes) -I$(top_srcdir)/include \
-I/usr/local/include
-# -Wconversion -> false warnings
-# -Wcast-qual -> false warnings
-# -Wpointer-arith -> we need it
+# -Wconversion -> we need it
# -Wunreachable-code -> fails with ntoh*
if DISABLE_EXTRA_FLAGS
@@ -17,19 +15,24 @@ AM_CFLAGS =
else
AM_CFLAGS = -std=gnu99 \
-Wall \
- -Wextra \
-Waggregate-return \
-Wbad-function-cast \
-Wcast-align \
+ -Wcast-qual \
+ -Wextra \
-Wfloat-equal \
+ -Wformat-nonliteral \
+ -Wformat=2 \
-Winit-self \
-Winline \
-Wmissing-declarations \
-Wmissing-format-attribute \
-Wmissing-prototypes \
-Wnested-externs \
+ -Wno-missing-field-initializers \
-Wold-style-definition \
-Wpacked \
+ -Wpointer-arith \
-Wredundant-decls \
-Wshadow \
-Wsign-compare \
@@ -37,7 +40,6 @@ AM_CFLAGS = -std=gnu99 \
-Wswitch-default \
-Wundef \
-Wwrite-strings \
- -Wno-missing-field-initializers \
-Werror
endif