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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdlpi/Makefile.com
          +++ new/usr/src/lib/libdlpi/Makefile.com
↓ open down ↓ 32 lines elided ↑ open up ↑
  33   33  include ../../Makefile.rootfs
  34   34  
  35   35  LIBS =          $(DYNLIB) $(LINTLIB)
  36   36  
  37   37  LDLIBS +=       -lc -linetutil -ldladm
  38   38  
  39   39  SRCDIR =        ../common
  40   40  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  41   41  
  42   42  CFLAGS +=       $(CCVERBOSE)
  43      -CERRWARN +=     -_gcc=-Wno-uninitialized
       43 +CERRWARN +=     $(CNOWARN_UNINIT)
  44   44  CPPFLAGS +=     -I$(SRCDIR) -D_REENTRANT
  45   45  
  46   46  .KEEP_STATE:
  47   47  
  48   48  all:            $(LIBS)
  49   49  
  50   50  lint:           lintcheck
  51   51  
  52   52  include $(SRC)/lib/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX