]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Makefile
mdadm/mdmon: use CFLAGS when linking
authorMike Frysinger <vapier@gentoo.org>
Mon, 11 Apr 2011 04:54:42 +0000 (14:54 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 11 Apr 2011 04:54:42 +0000 (14:54 +1000)
commit8ccca44dde83e91a162373c681d3ad3bf9023c0e
tree5f530021cb028f72a06eb83341e4d25f79177df1
parentb1bac75b265f2dd07273ea0f6ee7e633fce8ecfc
mdadm/mdmon: use CFLAGS when linking

People often put flags that control ABI options into CFLAGS (like -mcpu)
and don't duplicate them in LDFLAGS because most build systems nowadays
(like autotools) use both when linking.  So make that work with mdadm's
custom build system too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: NeilBrown <neilb@suse.de>
Makefile