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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libxcurses/Makefile.com
          +++ new/usr/src/lib/libxcurses/Makefile.com
↓ open down ↓ 106 lines elided ↑ open up ↑
 107  107  LIBS =          $(DYNLIB)
 108  108  
 109  109  # definitions for install target
 110  110  ROOTLIBDIR=     $(ROOT)/usr/xpg4/lib
 111  111  ROOTLIBDIR64=   $(ROOT)/usr/xpg4/lib/$(MACH64)
 112  112  ROOTLIBS=       $(LIBS:%=$(ROOTLIBDIR)/%)
 113  113  
 114  114  $(LINTLIB):= SRCS=../src/libc/llib-lcurses
 115  115  $(LINTLIB):= CPPFLAGS += -D_XOPEN_SOURCE_EXTENDED
 116  116  
 117      -CERRWARN +=     -_gcc=-Wno-uninitialized
      117 +CERRWARN +=     $(CNOWARN_UNINIT)
 118  118  CERRWARN +=     -_gcc=-Wno-unused-variable
 119  119  CERRWARN +=     -_gcc=-Wno-unused-label
 120  120  CERRWARN +=     -_gcc=-Wno-unused-function
 121  121  
 122  122  # not linted
 123  123  SMATCH=off
 124  124  
 125  125  LINTSRC=        $(LINTLIB:%.ln=%)
 126  126  
 127  127  LDLIBS += -lc
↓ open down ↓ 47 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX