Print this page
10805 Fix for 10687 can be improved

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/Makefile.uts
          +++ new/usr/src/uts/Makefile.uts
↓ open down ↓ 228 lines elided ↑ open up ↑
 229  229  
 230  230  CERRWARN += -_smatch=-p=illumos_kernel
 231  231  include $(SRC)/Makefile.smatch
 232  232  
 233  233  #
 234  234  # Unfortunately, _IOWR() is regularly used with a third argument of 0,
 235  235  # so we have to disable all these smatch checks.
 236  236  #
 237  237  SMOFF += sizeof
 238  238  
 239      -#
 240      -# DEBUG-only macros that define away to nothing confuse this check,
 241      -# unfortunately.
 242      -#
 243      -$(RELEASE_BUILD)SMOFF += indenting
 244      -
 245  239  CSTD = $(CSTD_GNU99)
 246  240  
 247  241  CFLAGS_uts              =
 248  242  CFLAGS_uts              += $(STAND_FLAGS_$(CLASS))
 249  243  CFLAGS_uts              += $(CCVERBOSE)
 250  244  CFLAGS_uts              += $(ILDOFF)
 251  245  CFLAGS_uts              += $(XAOPT)
 252  246  CFLAGS_uts              += $(CTF_FLAGS_$(CLASS))
 253  247  CFLAGS_uts              += $(CERRWARN)
 254  248  CFLAGS_uts              += $(CCNOAUTOINLINE)
↓ open down ↓ 406 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX