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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mkdir/Makefile
          +++ new/usr/src/cmd/mkdir/Makefile
↓ open down ↓ 23 lines elided ↑ open up ↑
  24   24  # Use is subject to license terms.
  25   25  #
  26   26  
  27   27  PROG= mkdir
  28   28  OBJS= $(PROG).o common.o
  29   29  SRCS= mkdir.c ../chmod/common.c
  30   30  
  31   31  include ../Makefile.cmd
  32   32  
  33   33  CFLAGS += $(CCVERBOSE)
  34      -CERRWARN += -_gcc=-Wno-uninitialized
       34 +CERRWARN += $(CNOWARN_UNINIT)
  35   35  CERRWARN += -_gcc=-Wno-parentheses
  36   36  LDLIBS += -lgen
  37   37  
  38   38  %.o: ../chmod/%.c
  39   39          $(COMPILE.c) -o $@ $<
  40   40  
  41   41  #  The following was derived from the default .c.po rule in the master
  42   42  #  makefile.  It had to be adapted to avoid writing the intermediate (.i)
  43   43  #  file in ../chmod.
  44   44  
↓ open down ↓ 32 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX