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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/zoneadm/Makefile
          +++ new/usr/src/cmd/zoneadm/Makefile
↓ open down ↓ 32 lines elided ↑ open up ↑
  33   33  
  34   34  OBJS= zoneadm.o zfs.o
  35   35  SRCS = $(OBJS:.o=.c)
  36   36  POFILE=zoneadm_all.po
  37   37  POFILES= $(OBJS:%.o=%.po)
  38   38  
  39   39  LDLIBS += -lzonecfg -lsocket -lgen -lpool -lzfs -luuid -lnvpair -lbrand -ldladm -lsecdb
  40   40  
  41   41  INCS += -I../../common/zfs
  42   42  
  43      -CERRWARN += -_gcc=-Wno-uninitialized
       43 +CERRWARN += $(CNOWARN_UNINIT)
  44   44  
  45   45  .KEEP_STATE:
  46   46  
  47   47  all: $(PROG)
  48   48  
  49   49  $(PROG): $(OBJS)
  50   50          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  51   51          $(POST_PROCESS)
  52   52  
  53   53  install: all $(ROOTUSRSBINPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
↓ open down ↓ 14 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX