source: packages/utils/mdadm/patches/001-makefile-fixes.patch @ 26755

Last change on this file since 26755 was 26755, checked in by luka, 5 years ago

upgrade mdadm package

File size: 924 bytes
  • Makefile

    old new FAILED_SLOTS_DIR = /dev/.mdadm/failed-sl 
    7676DIRFLAGS = -DMAP_DIR=\"$(MAP_DIR)\" -DMAP_FILE=\"$(MAP_FILE)\" 
    7777DIRFLAGS += -DMDMON_DIR=\"$(MDMON_DIR)\" 
    7878DIRFLAGS += -DFAILED_SLOTS_DIR=\"$(FAILED_SLOTS_DIR)\" 
    79 CFLAGS = $(CWFLAGS) $(CXFLAGS) -DSendmail=\""$(MAILCMD)"\" $(CONFFILEFLAGS) $(DIRFLAGS) 
    8079 
    8180# The glibc TLS ABI requires applications that call clone(2) to set up 
    8281# TLS data structures, use pthreads until mdmon implements this support 
    test_stripe : restripe.c mdadm.h 
    184183 
    185184mdassemble : $(ASSEMBLE_SRCS) $(INCL) 
    186185        rm -f $(OBJS) 
    187         $(DIET_GCC) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS)  $(STATICSRC) 
     186        $(CC) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS)  $(STATICSRC) 
    188187 
    189188mdassemble.static : $(ASSEMBLE_SRCS) $(INCL) 
    190189        rm -f $(OBJS) 
Note: See TracBrowser for help on using the repository browser.