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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4u/opl/olympus_c/Makefile
          +++ new/usr/src/uts/sun4u/opl/olympus_c/Makefile
↓ open down ↓ 67 lines elided ↑ open up ↑
  68   68  #
  69   69  ALL_BUILDS      = $(ALL_BUILDSONLY64)
  70   70  DEF_BUILDS      = $(DEF_BUILDSONLY64)
  71   71  CLEANLINTFILES  += $(LINT32_FILES)
  72   72  
  73   73  #
  74   74  # lint pass one enforcement
  75   75  #
  76   76  OLYMPUS_C_DEFS  += -DOLYMPUS_C
  77   77  CFLAGS += $(CCVERBOSE) $(OLYMPUS_C_DEFS)
  78      -CERRWARN += -_gcc=-Wno-uninitialized
       78 +CERRWARN += $(CNOWARN_UNINIT)
  79   79  
  80   80  CPPFLAGS += -DCPU_MODULE -DOLYMPUS_C
  81   81  AS_CPPFLAGS += -DCPU_MODULE -DOLYMPUS_C
  82   82  
  83   83  #
  84   84  #       Default build targets.
  85   85  #
  86   86  .KEEP_STATE:
  87   87  
  88   88  all:            $(ALL_DEPS)
↓ open down ↓ 29 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX