Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/stand/lib/sa/Makefile
          +++ new/usr/src/stand/lib/sa/Makefile
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50  CMNUTILDIR      = $(TOPDIR)/common/util
  51   51  SRCS            = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(CMNOBJS:%.o=$(CMNDIR)/%.c) \
  52   52                    $(CMNUTILOBJS:%.o=$(CMNUTILDIR)/%.c) \
  53   53                    $($(MACH)_ASMOBJS:%.o=$(MACH)/%.s) \
  54   54                    $($(MACH)_OBJS:%.o=$(MACH)/%.c)
  55   55  
  56   56  LDLIBS += -lsock
  57   57  CPPFLAGS += $(SOCKCPPFLAGS)
  58   58  
  59   59  CERRWARN += -_gcc=-Wno-parentheses
  60      -CERRWARN += -_gcc=-Wno-uninitialized
       60 +CERRWARN += $(CNOWARN_UNINIT)
  61   61  
  62   62  objs/%.o: $(MACH)/%.s
  63   63            $(COMPILE.s) -o $@ $<
  64   64            $(POST_PROCESS_O)
  65   65  
  66   66  objs/%.o: $(MACH)/%.c
  67   67            $(COMPILE.c) -o $@ $<
  68   68            $(POST_PROCESS_O)
  69   69  
  70   70  objs/%.o: $(CMNUTILDIR)/%.c
  71   71            $(COMPILE.c) -o $@ $<
  72   72            $(POST_PROCESS_O)
  73   73  
  74   74  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX