Kaynağa Gözat

[spi/SConscript] armclang doesn't support --c99 option.

Wayne Lin 5 yıl önce
ebeveyn
işleme
47a23a93f5
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      components/drivers/spi/SConscript

+ 1 - 1
components/drivers/spi/SConscript

@@ -28,7 +28,7 @@ if GetDepend('RT_USING_SFUD'):
     if rtconfig.CROSS_TOOL == 'gcc':
     if rtconfig.CROSS_TOOL == 'gcc':
         LOCAL_CCFLAGS += ' -std=c99'
         LOCAL_CCFLAGS += ' -std=c99'
     elif rtconfig.CROSS_TOOL == 'keil':
     elif rtconfig.CROSS_TOOL == 'keil':
-        LOCAL_CCFLAGS += ' --c99'
+        LOCAL_CCFLAGS += ' '
 
 
 src += src_device
 src += src_device