diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-08-12 21:24:15 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-08-13 00:07:49 +0200 |
commit | bb624f78b9203416d2d35bb69148d7dce2bcf55a (patch) | |
tree | 5ed090e7cf400ac291f8eceb715e7fb54887f806 /Makefile | |
parent | Grow.c: change size to be unsigned and use '0' in case of 'no change' (diff) | |
download | mdadm-bb624f78b9203416d2d35bb69148d7dce2bcf55a.tar.xz mdadm-bb624f78b9203416d2d35bb69148d7dce2bcf55a.zip |
fix handling of CPPFLAGS
The current Makefile ends up ignoring the system CPPFLAGS settings,
so make sure we append the variable. Also, the old metadata logic
has a typo with the flag name.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -48,12 +48,10 @@ CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O endif ifdef DEBIAN -CPPFLAGS := -DDEBIAN -else -CPPFLAGS := +CPPFLAGS += -DDEBIAN endif ifdef DEFAULT_OLD_METADATA - CPPFLAG += -DDEFAULT_OLD_METADATA + CPPFLAGS += -DDEFAULT_OLD_METADATA DEFAULT_METADATA=0.90 else DEFAULT_METADATA=1.2 |