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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/sasl_plugins/Makefile.com
          +++ new/usr/src/lib/sasl_plugins/Makefile.com
↓ open down ↓ 23 lines elided ↑ open up ↑
  24   24  #
  25   25  # Copyright (c) 2018, Joyent, Inc.
  26   26  
  27   27  COMMONOBJS=     plugin_common.o
  28   28  OBJECTS=        $(PLUG_OBJS) $(COMMONOBJS)
  29   29  
  30   30  include $(SRC)/lib/Makefile.lib
  31   31  
  32   32  CPPFLAGS +=     -I$(SRC)/lib/libsasl/include
  33   33  
  34      -CERRWARN +=     -_gcc=-Wno-uninitialized
       34 +CERRWARN +=     $(CNOWARN_UNINIT)
  35   35  
  36   36  # not linted
  37   37  SMATCH=off
  38   38  
  39   39  LIBS =          $(DYNLIB)
  40   40  SRCS=           $(PLUG_OBJS:%.o=../%.c) \
  41   41                  $(COMMONOBJS:%.o=$(SRC)/lib/libsasl/plugin/%.c)
  42   42  LDLIBS +=       -lsocket -lc $(PLUG_LIBS)
  43   43  
  44   44  MAPFILES =      ../../mapfile-vers
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX