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 /output/dbi | |
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 'output/dbi')
-rw-r--r-- | output/dbi/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/output/dbi/Makefile.am b/output/dbi/Makefile.am index 0e68cd3..1ee8f2a 100644 --- a/output/dbi/Makefile.am +++ b/output/dbi/Makefile.am @@ -1,5 +1,6 @@ AM_CPPFLAGS = -I$(top_srcdir)/include $(DBI_INC) +AM_CFLAGS = ${regular_CFLAGS} LIBS=$(DBI_LIB) if HAVE_DBI |