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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/hotplugd/Makefile
          +++ new/usr/src/cmd/hotplugd/Makefile
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  MANIFEST=       hotplug.xml
  38   38  
  39   39  include ../Makefile.cmd
  40   40  
  41   41  ROOTCMDDIR=             $(ROOTLIB)
  42   42  ROOTMANIFESTDIR=        $(ROOTSVCSYSTEM)
  43   43  $(ROOTMANIFEST)         := FILEMODE= 444
  44   44  
  45   45  CPPFLAGS += -I$(SRC)/lib/libhotplug/common
  46   46  CERRWARN += -_gcc=-Wno-parentheses
  47      -CERRWARN += -_gcc=-Wno-uninitialized
       47 +CERRWARN += $(CNOWARN_UNINIT)
  48   48  LDLIBS += -ldevinfo -lhotplug -lnvpair -lsecdb -lrcm -lbsm
  49   49  
  50   50  .KEEP_STATE:
  51   51  
  52   52  all:    $(PROG)
  53   53  
  54   54  $(PROG): $(OBJS)
  55   55          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  56   56          $(POST_PROCESS)
  57   57  
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX