diff options
author | NeilBrown <neilb@suse.de> | 2010-09-03 05:33:29 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-09-03 05:33:29 +0200 |
commit | 8efb9d16ac4026ca237a2d887240543b1763b634 (patch) | |
tree | 9ce6decdf97dafba5d7e35463786bb7dbdbd6218 /Makefile | |
parent | Release mdadm-3.1.4 (diff) | |
download | mdadm-8efb9d16ac4026ca237a2d887240543b1763b634.tar.xz mdadm-8efb9d16ac4026ca237a2d887240543b1763b634.zip |
Fix compile error on non-x86 systems.
-z is not an option for 'gcc', it is an option for the loader!!
Reported-by: Debian build system
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -167,7 +167,7 @@ mdmon.O2 : $(MON_SRCS) mdadm.h mdmon.h # use '-z now' to guarantee no dynamic linker interactions with the monitor thread mdmon : $(MON_OBJS) - $(CC) $(LDFLAGS) $(MON_LDFLAGS) -z now -o mdmon $(MON_OBJS) $(LDLIBS) + $(CC) $(LDFLAGS) $(MON_LDFLAGS) -Wl,-z,now -o mdmon $(MON_OBJS) $(LDLIBS) msg.o: msg.c msg.h test_stripe : restripe.c mdadm.h |