summaryrefslogtreecommitdiffstats
path: root/filter
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 /filter
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 'filter')
-rw-r--r--filter/Makefile.am1
-rw-r--r--filter/raw2packet/Makefile.am1
2 files changed, 2 insertions, 0 deletions
diff --git a/filter/Makefile.am b/filter/Makefile.am
index 9b51670..3c3f152 100644
--- a/filter/Makefile.am
+++ b/filter/Makefile.am
@@ -1,6 +1,7 @@
SUBDIRS = raw2packet packet2flow
AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_CFLAGS = ${regular_CFLAGS}
pkglib_LTLIBRARIES = ulogd_filter_IFINDEX.la ulogd_filter_PWSNIFF.la \
ulogd_filter_PRINTPKT.la ulogd_filter_PRINTFLOW.la \
diff --git a/filter/raw2packet/Makefile.am b/filter/raw2packet/Makefile.am
index c959661..8b5a4ad 100644
--- a/filter/raw2packet/Makefile.am
+++ b/filter/raw2packet/Makefile.am
@@ -1,5 +1,6 @@
AM_CPPFLAGS = -I$(top_srcdir)/include
+AM_CFLAGS = ${regular_CFLAGS}
pkglib_LTLIBRARIES = ulogd_raw2packet_BASE.la