From 99d59b94d6ec46dddb05e518f253a983f0450e3f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 5 Nov 2010 19:25:16 +0100 Subject: 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 --- filter/Makefile.am | 1 + filter/raw2packet/Makefile.am | 1 + 2 files changed, 2 insertions(+) (limited to 'filter') 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 -- cgit v1.2.3