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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/lofiadm/Makefile
          +++ new/usr/src/cmd/lofiadm/Makefile
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  SRCS= $(OBJS:%.o=%.c)
  33   33  
  34   34  POFILES= $(OBJS:%.o=%.po)
  35   35  
  36   36  include ../Makefile.cmd
  37   37  
  38   38  CPPFLAGS += -I $(SRC)/common/crypto -I $(SRC)/common/lzma
  39   39  LDLIBS += -ldevinfo -lpkcs11 -lcryptoutil
  40   40  
  41   41  CERRWARN += -_gcc=-Wno-parentheses
  42      -CERRWARN += -_gcc=-Wno-uninitialized
       42 +CERRWARN += $(CNOWARN_UNINIT)
  43   43  
  44   44  # not linted
  45   45  SMATCH=off
  46   46  
  47   47  LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
  48   48  
  49   49  .KEEP_STATE:
  50   50  
  51   51  all: $(LZMAOBJS) $(PROG) $(POFILE)
  52   52  
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX