Parcourir la source

[msh][ci]only GCC use strict checking

Meco Man il y a 1 an
Parent
commit
59231a4276
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      components/finsh/SConscript

+ 1 - 1
components/finsh/SConscript

@@ -11,7 +11,7 @@ msh_parse.c
 CPPPATH = [cwd]
 LOCAL_CFLAGS = ''
 
-if rtconfig.PLATFORM in GetGCCLikePLATFORM():
+if rtconfig.PLATFORM in ['gcc']: # only for GCC
     LOCAL_CFLAGS += ' -Wstack-usage=' + str(GetConfigValue('FINSH_THREAD_STACK_SIZE')) # check finsh thread stack size
 
 if GetDepend('MSH_USING_BUILT_IN_COMMANDS'):