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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/audioemu10k/Makefile
          +++ new/usr/src/uts/intel/audioemu10k/Makefile
↓ open down ↓ 51 lines elided ↑ open up ↑
  52   52  
  53   53  #
  54   54  #       Define targets
  55   55  #
  56   56  ALL_TARGET      = $(BINARY)
  57   57  LINT_TARGET     = $(MODULE).lint
  58   58  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59   59  
  60   60  LDFLAGS         += -dy -Ndrv/audio -Nmisc/ac97
  61   61  
  62      -CERRWARN        += -_gcc=-Wno-uninitialized
       62 +CERRWARN        += $(CNOWARN_UNINIT)
  63   63  
  64   64  # needs work
  65   65  SMOFF += all_func_returns
  66   66  
  67   67  $(OBJS_DIR)/%.o                 := CPPFLAGS += -I$(OBJS_DIR)
  68   68  $(OBJS_DIR)/%.ln                := CPPFLAGS += -I$(OBJS_DIR)
  69   69  $(OBJS_DIR)/emu10k_gpr.h        := ASM10KFLAGS = -v -0 -P gpr
  70   70  $(OBJS_DIR)/emu10k1_dsp.h       := ASM10KFLAGS = -v -1 -P emu10k1
  71   71  $(OBJS_DIR)/emu10k2_dsp.h       := MODEL10K = SBLIVE
  72   72  $(OBJS_DIR)/emu10k2_dsp.h       := ASM10KFLAGS = -v -2 -P emu10k2
↓ open down ↓ 38 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX