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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/Makefile.libstandctf
          +++ new/usr/src/cmd/mdb/Makefile.libstandctf
↓ open down ↓ 54 lines elided ↑ open up ↑
  55   55  CFLAGS64 += $(STAND_FLAGS_64)
  56   56  
  57   57  LDFLAGS = $(ZNOVERSION) $(BREDUCE) -M $(MAPFILE) -dy -r
  58   58  
  59   59  LIB = libstandctf.so
  60   60  OBJS = $(CTF_COMMON_SRCS:%.c=%.o) $(CTF_STUB_SRCS:%.c=%.o)
  61   61  LINTFILES = $(OBJS:%.o=%.ln)
  62   62  
  63   63  LINTFLAGS += -n -errtags=yes
  64   64  
  65      -CERRWARN += -_gcc=-Wno-uninitialized
       65 +CERRWARN += $(CNOWARN_UNINIT)
  66   66  
  67   67  .NO_PARALLEL:
  68   68  .PARALLEL: $(OBJS)
  69   69  
  70   70  install all: $(LIB)
  71   71  
  72   72  $(LIB): $(OBJS) $(MAPFILE)
  73   73          $(LD) $(LDFLAGS) -o $@ $(OBJS)
  74   74  
  75   75  clobber clean:
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX