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_psr/sparc/Makefile.com
          +++ new/usr/src/lib/libprtdiag_psr/sparc/Makefile.com
↓ open down ↓ 46 lines elided ↑ open up ↑
  47   47  LIBS = $(DYNLIB)
  48   48  
  49   49  # There should be a mapfile here
  50   50  MAPFILES =
  51   51  
  52   52  CFLAGS +=       $(CCVERBOSE)
  53   53  CERRWARN +=     -_gcc=-Wno-unused-variable
  54   54  CERRWARN +=     -_gcc=-Wno-parentheses
  55   55  CERRWARN +=     -_gcc=-Wno-unused-value
  56   56  CERRWARN +=     -_gcc=-Wno-unused-function
  57      -CERRWARN +=     -_gcc=-Wno-uninitialized
       57 +CERRWARN +=     $(CNOWARN_UNINIT)
  58   58  CERRWARN +=     -_gcc=-Wno-address
  59   59  IFLAGS +=       -I $(UTSBASE)/sun4u 
  60   60  IFLAGS +=       -I $(UTSCLOSED)/sun4u 
  61   61  IFLAGS +=       -I $(UTSCLOSED)/sun4u/sunfire -I $(UTSBASE)/sun4u/sunfire
  62   62  CPPFLAGS =      $(IFLAGS) $(CPPFLAGS.master)
  63   63  LDLIBS +=       -L $(ROOT)/usr/platform/$(PSR_MACH)/lib -lprtdiag -lc
  64   64  DYNFLAGS +=     -R /usr/platform/$(PSR_MACH)/lib
  65   65  INS.slink6=     $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libprtdiag_psr.so.1 $@
  66   66  
  67   67  .KEEP_STATE:
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX