1 Index: mdadm-3.2/Makefile
2 ===================================================================
3 --- mdadm-3.2.orig/Makefile
5 @@ -76,7 +76,6 @@ FAILED_SLOTS_DIR = /dev/.mdadm/failed-sl
6 DIRFLAGS = -DMAP_DIR=\"$(MAP_DIR)\" -DMAP_FILE=\"$(MAP_FILE)\"
7 DIRFLAGS += -DMDMON_DIR=\"$(MDMON_DIR)\"
8 DIRFLAGS += -DFAILED_SLOTS_DIR=\"$(FAILED_SLOTS_DIR)\"
9 -CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(DIRFLAGS)
11 # The glibc TLS ABI requires applications that call clone(2) to set up
12 # TLS data structures, use pthreads until mdmon implements this support
13 @@ -184,7 +183,7 @@ test_stripe : restripe.c mdadm.h
15 mdassemble : $(ASSEMBLE_SRCS) $(INCL)
17 - $(DIET_GCC) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS) $(STATICSRC)
18 + $(CC) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS) $(STATICSRC)
20 mdassemble.static : $(ASSEMBLE_SRCS) $(INCL)