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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/luxadm/Makefile
          +++ new/usr/src/cmd/luxadm/Makefile
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  OBJS = $(OBJS_$(MACH)) $(COBJS)
  33   33  
  34   34  SRCS = $(OBJS:%.o=%.c)
  35   35  
  36   36  POFILES = $(OBJS:%.o=%.po)
  37   37  POFILE = luxadm.po
  38   38  
  39   39  include ../Makefile.cmd
  40   40  
  41   41  CERRWARN +=     -_gcc=-Wno-parentheses
  42      -CERRWARN +=     -_gcc=-Wno-uninitialized
       42 +CERRWARN +=     $(CNOWARN_UNINIT)
  43   43  CERRWARN +=     -_gcc=-Wno-unused-label
  44   44  CERRWARN +=     -_gcc=-Wno-address
  45   45  
  46   46  # not linted
  47   47  SMATCH=off
  48   48  
  49   49  sparc_LDLIBS = -la5k -lg_fc -ldevid -lkstat -ldevinfo
  50   50  i386_LDLIBS =
  51   51  LDLIBS += $($(MACH)_LDLIBS)
  52   52  LDLIBS += -lnvpair
↓ open down ↓ 62 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX