12345678910111213141516171819202122232425 |
- --- mdadm-3.3.orig/Makefile 2013-09-03 06:47:47.000000000 +0200
- +++ mdadm-3.3/Makefile 2013-12-31 18:42:30.000000000 +0100
- @@ -43,7 +43,7 @@ KLIBC_GCC = gcc -nostdinc -iwithprefix i
-
- CC = $(CROSS_COMPILE)gcc
- CXFLAGS ?= -ggdb
- -CWFLAGS = -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
- +CWFLAGS = -Wall -Wstrict-prototypes -Wextra -Wno-unused-parameter
- ifdef WARN_UNUSED
- CWFLAGS += -Wp,-D_FORTIFY_SOURCE=2 -O3
- endif
- @@ -257,9 +257,10 @@ $(MON_OBJS) : $(INCL) mdmon.h
- sha1.o : sha1.c sha1.h md5.h
- $(CC) $(CFLAGS) -DHAVE_STDINT_H -o sha1.o -c sha1.c
-
- -install : mdadm mdmon install-man install-udev
- - $(INSTALL) -D $(STRIP) -m 755 mdadm $(DESTDIR)$(BINDIR)/mdadm
- - $(INSTALL) -D $(STRIP) -m 755 mdmon $(DESTDIR)$(BINDIR)/mdmon
- +install : mdadm mdmon
- + $(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR)
- + $(INSTALL) -m 755 mdadm $(DESTDIR)$(BINDIR)/mdadm
- + $(INSTALL) -m 755 mdmon $(DESTDIR)$(BINDIR)/mdmon
-
- install-static : mdadm.static install-man
- $(INSTALL) -D $(STRIP) -m 755 mdadm.static $(DESTDIR)$(BINDIR)/mdadm
|