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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/devfsadm/Makefile.com
          +++ new/usr/src/cmd/devfsadm/Makefile.com
↓ open down ↓ 89 lines elided ↑ open up ↑
  90   90  COMPAT_LINKS = disks tapes ports audlinks devlinks drvconfig
  91   91  
  92   92  CPPFLAGS +=     -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT \
  93   93                  -I$(COMMON) -I$(UTSBASE)/common -I$(MODLOADDIR)
  94   94  CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
  95   95  
  96   96  LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
  97   97  LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2
  98   98  LINTFLAGS += -erroff=E_NAME_MULTIPLY_DEF2
  99   99  
 100      -CERRWARN += -_gcc=-Wno-uninitialized
      100 +CERRWARN += $(CNOWARN_UNINIT)
 101  101  CERRWARN += -_gcc=-Wno-char-subscripts
 102  102  CERRWARN += -_gcc=-Wno-parentheses
 103  103  
 104  104  # not linted
 105  105  SMATCH=off
 106  106  
 107  107  # Define the dependencies required by devfsadm and all shared objects.
 108  108  LDLIBS +=               -ldevinfo
 109  109  devfsadm :=             LDLIBS += -lgen -lsysevent -lnvpair -lzonecfg -lbsm
 110  110  SUNW_disk_link.so :=    LDLIBS += -ldevid
↓ open down ↓ 116 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX