add mdadm package
[openwrt/svn-archive/archive.git] / utils / mdadm / patches / 001-makefile-fixes.patch
1 Only in mdadm-2.6.7.2: .prepared_52c8003c1cfc25b1e96897208f1a6856
2 Only in mdadm-2.6.7.2.orig/: .prepared_b70de0be5a277506820fdcd9a21e9deb
3 diff -ur mdadm-2.6.7.2.orig/Makefile mdadm-2.6.7.2/Makefile
4 --- mdadm-2.6.7.2.orig/Makefile 2008-11-21 18:21:35.000000000 +0100
5 +++ mdadm-2.6.7.2/Makefile 2008-11-21 19:13:54.000000000 +0100
6 @@ -52,7 +52,7 @@
7 CONFFILE2 = $(SYSCONFDIR)/mdadm/mdadm.conf
8 MAILCMD =/usr/sbin/sendmail -t
9 CONFFILEFLAGS = -DCONFFILE=\"$(CONFFILE)\" -DCONFFILE2=\"$(CONFFILE2)\"
10 -CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS)
11 +#CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS)
12
13 # If you want a static binary, you might uncomment these
14 # LDFLAGS = -static
15 @@ -124,7 +124,7 @@
16
17 mdassemble : $(ASSEMBLE_SRCS) mdadm.h
18 rm -f $(OBJS)
19 - $(DIET_GCC) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS) $(STATICSRC)
20 + $(CC) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS) $(STATICSRC)
21
22 mdassemble.static : $(ASSEMBLE_SRCS) mdadm.h
23 rm -f $(OBJS)
24 Only in mdadm-2.6.7.2: mdadm