Browse Source

adapter ls2k compiler

michael 5 years ago
parent
commit
a7cff69d34
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SConscript

+ 1 - 1
SConscript

@@ -25,7 +25,7 @@ path   += [cwd + '/port/modules/machine']
 LOCAL_CCFLAGS = ''
 
 if rtconfig.CROSS_TOOL == 'gcc':
-    LOCAL_CCFLAGS += ' -std=c99'
+    LOCAL_CCFLAGS += ' -std=gnu99'
 elif rtconfig.CROSS_TOOL == 'keil':
     LOCAL_CCFLAGS += ' --c99 --gnu'