diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-11-05 19:25:16 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-11-05 19:32:04 +0100 |
commit | 99d59b94d6ec46dddb05e518f253a983f0450e3f (patch) | |
tree | 4a166a87063a374f049e42474beca26243e0d378 /src/Makefile.am | |
parent | a12a31bfbbd314a2fcb3437f9211a53bd2a97c00 (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 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index d83d13e..9ae7884 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,6 +2,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include \ -DULOGD_CONFIGFILE="\"$(sysconfdir)/ulogd.conf\"" \ -DULOGD_LOGFILE_DEFAULT="\"$(localstatedir)/log/ulogd.log\"" +AM_CFLAGS = ${regular_CFLAGS} sbin_PROGRAMS = ulogd |