100-cross_compile.patch 729 B

1234567891011
  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -86,7 +86,7 @@ DLM:=$(shell [ -f /usr/include/libdlm.h
  4. DIRFLAGS = -DMAP_DIR=\"$(MAP_DIR)\" -DMAP_FILE=\"$(MAP_FILE)\"
  5. DIRFLAGS += -DMDMON_DIR=\"$(MDMON_DIR)\"
  6. DIRFLAGS += -DFAILED_SLOTS_DIR=\"$(FAILED_SLOTS_DIR)\"
  7. -CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(DIRFLAGS) $(COROSYNC) $(DLM)
  8. +# CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(DIRFLAGS) $(COROSYNC) $(DLM)
  9. VERSION = $(shell [ -d .git ] && git describe HEAD | sed 's/mdadm-//')
  10. VERS_DATE = $(shell [ -d .git ] && date --date="`git log -n1 --format=format:%cd --date=short`" '+%0dth %B %Y' | sed -e 's/1th/1st/' -e 's/2th/2nd/' -e 's/11st/11th/' -e 's/12nd/12th/')