Print this page
6648 illumos build should be explicit about C standards

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/audioemu10k/Makefile
          +++ new/usr/src/uts/intel/audioemu10k/Makefile
↓ open down ↓ 86 lines elided ↑ open up ↑
  87   87  
  88   88  modlintlib:     $(MODLINTLIB_DEPS)
  89   89  
  90   90  clean.lint:     $(CLEAN_LINT_DEPS)
  91   91  
  92   92  install:        $(INSTALL_DEPS)
  93   93  
  94   94  $(BINARY):      $(OBJS_DIR)/asm10k $(DSP_HDRS)
  95   95  
  96   96  $(ASM10K):      $(DSP_SRCDIR)/asm10k.c
  97      -        $(CC) -o $@ $(DSP_SRCDIR)/asm10k.c
       97 +        $(NATIVECC) $(NATIVE_CFLAGS) -o $@ $(DSP_SRCDIR)/asm10k.c
  98   98  
  99   99  $(DSP_HDRS): $(ASM10K) $(DSP_SRCS)
 100  100          $(CPP) -D$(MODEL10K) -I$(DSP_SRCDIR) $(DSP_SRCDIR)/emu10k.dsp | \
 101  101          $(OBJS_DIR)/asm10k $(ASM10KFLAGS) -h $@
 102  102  
 103  103  CLOBBERFILES += $(ASM10K) $(DSP_HDRS)
 104  104  
 105  105  #
 106  106  #       Include common targets.
 107  107  #
 108  108  include $(UTSBASE)/intel/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX