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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sf880drd/Makefile
          +++ new/usr/src/cmd/sf880drd/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  include ../../Makefile.psm
  36   36  
  37   37  ROOTMANIFESTDIR = $(ROOTSVCPLATFORMSUN4U)
  38   38  
  39   39  CPPFLAGS += -I$(ROOT)/usr/platform/sun4u/include
  40   40  LDLIBS += -lcfgadm
  41   41  
  42   42  CERRWARN += -_gcc=-Wno-switch
  43   43  CERRWARN += -_gcc=-Wno-unused-variable
  44   44  CERRWARN += -_gcc=-Wno-unused-function
  45      -CERRWARN += -_gcc=-Wno-uninitialized
       45 +CERRWARN += $(CNOWARN_UNINIT)
  46   46  
  47   47  PSMPROG = $(USR_PSM_LIB_DIR)/$(PROG)
  48   48  
  49   49  $(PSMPROG) :=   FILEMODE = 0755
  50   50  
  51   51  .KEEP_STATE:
  52   52  
  53   53  all: $(PROG)
  54   54  
  55   55  install: all $(PSMPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX