summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-11-05 19:25:16 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-11-05 19:32:04 +0100
commit99d59b94d6ec46dddb05e518f253a983f0450e3f (patch)
tree4a166a87063a374f049e42474beca26243e0d378 /input
parenta12a31bfbbd314a2fcb3437f9211a53bd2a97c00 (diff)
build: propagate global CFLAGS
We must not override CFLAGS, because that will break when the user overrides CFLAGS again at make time (which he is entitled to). So, name our CFLAGS regular_CFLAGS, and also include that across all Makefiles so that they are actually uesd for all the code. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'input')
-rw-r--r--input/flow/Makefile.am2
-rw-r--r--input/packet/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/input/flow/Makefile.am b/input/flow/Makefile.am
index 21ab32f..127caf6 100644
--- a/input/flow/Makefile.am
+++ b/input/flow/Makefile.am
@@ -1,6 +1,6 @@
AM_CPPFLAGS = -I$(top_srcdir)/include
-AM_CFLAGS = -Wall
+AM_CFLAGS = ${regular_CFLAGS}
pkglib_LTLIBRARIES = ulogd_inpflow_NFCT.la # ulogd_inpflow_IPFIX.la
diff --git a/input/packet/Makefile.am b/input/packet/Makefile.am
index f8afc03..7fd8979 100644
--- a/input/packet/Makefile.am
+++ b/input/packet/Makefile.am
@@ -1,6 +1,6 @@
AM_CPPFLAGS = -I$(top_srcdir)/include
-AM_CFLAGS = -Wall
+AM_CFLAGS = ${regular_CFLAGS}
LIBS=
pkglib_LTLIBRARIES = ulogd_inppkt_NFLOG.la ulogd_inppkt_ULOG.la ulogd_inppkt_UNIXSOCK.la