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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libtsol/Makefile.com
          +++ new/usr/src/lib/libtsol/Makefile.com
↓ open down ↓ 52 lines elided ↑ open up ↑
  53   53          $(NONCOMMONOBJS:%.o=$(SRCDIR)/%.c) \
  54   54          $(COMMONOBJS:%.o=$(COMMONDIR)/%.c)
  55   55  
  56   56  COMMONDIR=      $(SRC)/common/tsol
  57   57  
  58   58  CFLAGS +=       $(CCVERBOSE)
  59   59  CPPFLAGS +=     -D_REENTRANT -I$(SRCDIR) -I$(COMMONDIR)
  60   60  
  61   61  LINTFLAGS64 +=  -m64
  62   62  
  63      -CERRWARN +=     -_gcc=-Wno-uninitialized
       63 +CERRWARN +=     $(CNOWARN_UNINIT)
  64   64  
  65   65  # not linted
  66   66  SMATCH=off
  67   67  
  68   68  .KEEP_STATE:
  69   69  
  70   70  all: $(LIBS)
  71   71  
  72   72  lint: lintcheck
  73   73  
  74   74  objs/%.o pic_profs/%.o pics/%.o:        $(COMMONDIR)/%.c
  75   75          $(COMPILE.c) -o $@ $<
  76   76          $(POST_PROCESS_O)
  77   77  
  78   78  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX