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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libprtdiag/Makefile.com
          +++ new/usr/src/lib/libprtdiag/Makefile.com
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38  
  39   39  LIBS            = $(DYNLIB) $(LINTLIB)
  40   40  IFLAGS          = -I ../../inc -I $(USR_PSM_INCL_DIR)
  41   41  IFLAGS          += -I $(SRC)/cmd/picl/plugins/inc
  42   42  IFLAGS          += -I $(UTSBASE)/sun4u 
  43   43  IFLAGS          += -I $(UTSBASE)/sun4u/sunfire
  44   44  IFLAGS          += -I $(UTSBASE)/sun4u/serengeti
  45   45  CPPFLAGS        = $(IFLAGS) $(CPPFLAGS.master)
  46   46  CFLAGS          += $(CCVERBOSE)
  47   47  CERRWARN        += -_gcc=-Wno-parentheses
  48      -CERRWARN        += -_gcc=-Wno-uninitialized
       48 +CERRWARN        += $(CNOWARN_UNINIT)
  49   49  CERRWARN        += -_gcc=-Wno-unused-variable
  50   50  CERRWARN        += -_gcc=-Wno-unused-value
  51   51  CERRWARN        += -_gcc=-Wno-unused-label
  52   52  LDLIBS          += -lc -lkstat
  53   53  DYNFLAGS        += -Wl,-f/usr/platform/\$$PLATFORM/lib/$(DYNLIBPSR)
  54   54  
  55   55  # There should be a mapfile here
  56   56  MAPFILES =
  57   57  
  58   58  SRCDIR          = ../../common
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX