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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libresolv/Makefile
          +++ new/usr/src/lib/libresolv/Makefile
↓ open down ↓ 51 lines elided ↑ open up ↑
  52   52  
  53   53  # We really want to say this:
  54   54  #       CPPFLAGS += -DDEBUG -DSYSV -D_REENTRANT -I. -I../common/inc
  55   55  # but some system header files are replaced by local versions
  56   56  # so we must put -I. ahead of the default include directories:
  57   57  CPPFLAGS = -I. -I../common/inc $(CPPFLAGS.master) -DDEBUG -DSYSV -D_REENTRANT
  58   58  LDLIBS += -lsocket -lnsl -lc
  59   59  CFLAGS += $(CCVERBOSE)
  60   60  
  61   61  CERRWARN += -_gcc=-Wno-parentheses
  62      -CERRWARN += -_gcc=-Wno-uninitialized
       62 +CERRWARN += $(CNOWARN_UNINIT)
  63   63  
  64   64  # not linted
  65   65  SMATCH=off
  66   66  
  67   67  ROOTDYNLIBS=    $(DYNLIB:%=$(ROOTLIBDIR)/%)
  68   68  
  69   69  .KEEP_STATE:
  70   70  
  71   71  LIBS = $(DYNLIB)
  72   72  
  73   73  all: $(LIBS)
  74   74  
  75   75  install: all $(ROOTDYNLIBS)
  76   76  
  77   77  lint: lintcheck
  78   78  
  79   79  # include library targets
  80   80  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX