1
0

patch-Makefile 1.0 KB

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