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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libnsl/Makefile.com
          +++ new/usr/src/lib/libnsl/Makefile.com
↓ open down ↓ 189 lines elided ↑ open up ↑
 190  190  CFLAGS +=       $(CCVERBOSE)
 191  191  
 192  192  # Make string literals read-only to save memory.
 193  193  CFLAGS +=       $(XSTRCONST)
 194  194  CFLAGS64 +=     $(XSTRCONST)
 195  195  CCFLAGS +=      -_CC=-features=conststrings
 196  196  CCFLAGS64 +=    -_CC=-features=conststrings
 197  197  
 198  198  CERRWARN +=     -_gcc=-Wno-char-subscripts
 199  199  CERRWARN +=     -_gcc=-Wno-parentheses
 200      -CERRWARN +=     -_gcc=-Wno-uninitialized
      200 +CERRWARN +=     $(CNOWARN_UNINIT)
 201  201  CERRWARN +=     -_gcc=-Wno-switch
 202  202  CERRWARN +=     -_gcc=-Wno-char-subscripts
 203  203  CERRWARN +=     -_gcc=-Wno-empty-body
 204  204  CERRWARN +=     -_gcc=-Wno-unused-variable
 205  205  CERRWARN +=     -_gcc=-Wno-clobbered
 206  206  
 207  207  # not linted
 208  208  SMATCH=off
 209  209  
 210  210  LIBMP =         -lmp
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX