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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdtrace/Makefile.com
          +++ new/usr/src/lib/libdtrace/Makefile.com
↓ open down ↓ 123 lines elided ↑ open up ↑
 124  124  
 125  125  CLOBBERFILES += $(LIBDAUDIT) drti.o
 126  126  
 127  127  CPPFLAGS += -I../common -I.
 128  128  CFLAGS += $(CCVERBOSE) $(C_BIGPICFLAGS)
 129  129  CFLAGS64 += $(CCVERBOSE) $(C_BIGPICFLAGS)
 130  130  
 131  131  CERRWARN += -_gcc=-Wno-unused-label
 132  132  CERRWARN += -_gcc=-Wno-unused-variable
 133  133  CERRWARN += -_gcc=-Wno-parentheses
 134      -CERRWARN += -_gcc=-Wno-uninitialized
      134 +CERRWARN += $(CNOWARN_UNINIT)
 135  135  CERRWARN += -_gcc=-Wno-switch
 136  136  
 137  137  # not linted
 138  138  SMATCH=off
 139  139  
 140  140  YYCFLAGS =
 141  141  LDLIBS += -lgen -lproc -lrtld_db -lnsl -lsocket -lctf -lelf -lc
 142  142  DRTILDLIBS = $(LDLIBS.lib) -lc
 143  143  LIBDAUDITLIBS = $(LDLIBS.lib) -lmapmalloc -lc -lproc
 144  144  
↓ open down ↓ 132 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX