summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2008-07-24 13:18:28 -0400
committerDoug Ledford <dledford@redhat.com>2008-07-24 13:19:17 -0400
commit5948e9156878ccbacdbd0b9ce68e2c38c41fafb1 (patch)
tree5a28fd922bb174cdeafa1c2cd95419bb6484222d
parent07a1c6b1217f578520a4445bd715a94efadf1097 (diff)
downloadmdadm-5948e9156878ccbacdbd0b9ce68e2c38c41fafb1.tar.gz
mdadm-5948e9156878ccbacdbd0b9ce68e2c38c41fafb1.tar.xz
mdadm-5948e9156878ccbacdbd0b9ce68e2c38c41fafb1.zip
Apply mdadm-2.5.2-cflags.patch from F-8 dist-cvs repo
Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 894d5eb..b23a208 100644
--- a/Makefile
+++ b/Makefile
@@ -98,10 +98,10 @@ everything: all mdadm.static swap_super test_stripe \
# mdadm.tcc doesn't work..
mdadm : $(OBJS)
- $(CC) $(LDFLAGS) -o mdadm $(OBJS) $(LDLIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o mdadm $(OBJS) $(LDLIBS)
mdadm.static : $(OBJS) $(STATICOBJS)
- $(CC) $(LDFLAGS) -static -o mdadm.static $(OBJS) $(STATICOBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -static -o mdadm.static $(OBJS) $(STATICOBJS)
mdadm.tcc : $(SRCS) mdadm.h
$(TCC) -o mdadm.tcc $(SRCS)
@@ -128,7 +128,7 @@ mdassemble : $(ASSEMBLE_SRCS) mdadm.h
mdassemble.static : $(ASSEMBLE_SRCS) mdadm.h
rm -f $(OBJS)
- $(CC) $(LDFLAGS) $(ASSEMBLE_FLAGS) -static -DHAVE_STDINT_H -o mdassemble.static $(ASSEMBLE_SRCS) $(STATICSRC)
+ $(CC) $(ASSEMBLE_FLAGS) $(LDFLAGS) -static -DHAVE_STDINT_H -o mdassemble.static $(ASSEMBLE_SRCS) $(STATICSRC)
mdassemble.auto : $(ASSEMBLE_SRCS) mdadm.h $(ASSEMBLE_AUTO_SRCS)
rm -f mdassemble.static