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


  52 
  53 #
  54 # Overrides
  55 #
  56 CFLAGS                          += $(CCVERBOSE)
  57 $(RELEASE_BUILD)CFLAGS          += -xinline=auto -xcrossfile
  58 $(RELEASE_BUILD)COPTIMIZE       = -xO5
  59 LDFLAGS                         += -dy -N misc/dls -N misc/mac
  60 INC_PATH                        += -I$(UTSBASE)/common/io/bpf
  61 
  62 #
  63 # For now, disable these lint checks; maintainers should endeavor
  64 # to investigate and remove these for maximum lint coverage.
  65 # Please do not carry these forward to new Makefiles.
  66 #
  67 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  69 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  70 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  71 
  72 CERRWARN        += -_gcc=-Wno-uninitialized
  73 CERRWARN        += -_gcc=-Wno-type-limits
  74 CERRWARN        += -_gcc=-Wno-parentheses
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 lint:           $(LINT_DEPS)
  90 
  91 modlintlib:     $(MODLINTLIB_DEPS)
  92 


  52 
  53 #
  54 # Overrides
  55 #
  56 CFLAGS                          += $(CCVERBOSE)
  57 $(RELEASE_BUILD)CFLAGS          += -xinline=auto -xcrossfile
  58 $(RELEASE_BUILD)COPTIMIZE       = -xO5
  59 LDFLAGS                         += -dy -N misc/dls -N misc/mac
  60 INC_PATH                        += -I$(UTSBASE)/common/io/bpf
  61 
  62 #
  63 # For now, disable these lint checks; maintainers should endeavor
  64 # to investigate and remove these for maximum lint coverage.
  65 # Please do not carry these forward to new Makefiles.
  66 #
  67 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  69 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  70 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  71 
  72 CERRWARN        += $(CNOWARN_UNINIT)
  73 CERRWARN        += -_gcc=-Wno-type-limits
  74 CERRWARN        += -_gcc=-Wno-parentheses
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 lint:           $(LINT_DEPS)
  90 
  91 modlintlib:     $(MODLINTLIB_DEPS)
  92