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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/find/Makefile
          +++ new/usr/src/cmd/find/Makefile
↓ open down ↓ 29 lines elided ↑ open up ↑
  30   30  XPG4FINDOBJS=   $(FINDOBJS:%.o=xpg4_%.o)                
  31   31  SRCS=           $(FINDOBJS1:%.o=%.c) $(SRC)/common/util/getresponse.c
  32   32  
  33   33  include ../Makefile.cmd
  34   34  
  35   35  $(XPG4) := CFLAGS += -DXPG4
  36   36  CPPFLAGS += -D_FILE_OFFSET_BITS=64 -I $(SRC)/common/util
  37   37  
  38   38  CERRWARN += -_gcc=-Wno-switch
  39   39  CERRWARN += -_gcc=-Wno-parentheses
  40      -CERRWARN += -_gcc=-Wno-uninitialized
       40 +CERRWARN += $(CNOWARN_UNINIT)
  41   41  
  42   42  LINTFLAGS += -u
  43   43  LDLIBS += -lsec
  44   44  
  45   45  .KEEP_STATE:
  46   46  
  47   47  all: $(PROG) $(XPG4)
  48   48  
  49   49  install: all $(ROOTPROG) $(ROOTXPG4PROG)
  50   50  
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX