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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/brand/solaris10/s10_brand/Makefile.com
          +++ new/usr/src/lib/brand/solaris10/s10_brand/Makefile.com
↓ open down ↓ 78 lines elided ↑ open up ↑
  79   79  CFLAGS +=       $(CCVERBOSE)
  80   80  # Needed to handle zfs include files
  81   81  CSTD=   $(CSTD_GNU99)
  82   82  C99LMODE=       -Xc99=%all
  83   83  DYNFLAGS +=     $(DYNFLAGS_$(CLASS))
  84   84  DYNFLAGS +=     $(BLOCAL) $(ZNOVERSION) -Wl,-e_start
  85   85  LDLIBS +=       -lc -lmapmalloc
  86   86  LINTFLAGS +=    -erroff=E_STATIC_UNUSED
  87   87  LINTFLAGS64 +=  -erroff=E_STATIC_UNUSED
  88   88  
  89      -CERRWARN +=     -_gcc=-Wno-uninitialized
       89 +CERRWARN +=     $(CNOWARN_UNINIT)
  90   90  
  91   91  $(LIBS):= PICS += $(SHAREDOBJS)
  92   92  
  93   93  .KEEP_STATE:
  94   94  
  95   95  all: $(LIBS)
  96   96  
  97   97  lint: lintcheck
  98   98  
  99   99  include $(SRC)/lib/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX