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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/th_tools/Makefile
          +++ new/usr/src/cmd/th_tools/Makefile
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  PROG = th_manage th_define
  27   27  SHFILES = th_script
  28   28  
  29   29  include ../Makefile.cmd
  30   30  
  31   31  CFLAGS += -I$(SRC)/uts/common
  32   32  LINTFLAGS += -I$(SRC)/uts/common
  33   33  CSTD= $(CSTD_GNU99)
  34   34  CFLAGS += $(CCVERBOSE)
  35   35  CERRWARN += -_gcc=-Wno-parentheses
  36      -CERRWARN += -_gcc=-Wno-uninitialized
       36 +CERRWARN += $(CNOWARN_UNINIT)
  37   37  
  38   38  SRCS = $(PROG:%=%.c)
  39   39  OBJECTS = $(SRCS:%.c=%.o)
  40   40  
  41   41  LDLIBS += -ldevinfo
  42   42  th_manage := LDLIBS += -ldevice
  43   43  
  44   44  ROOTPROG = $(PROG:%=$(ROOTUSRSBIN)/%)
  45   45  
  46   46  CLOBBERFILES = $(PROG) $(SHFILES)
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX