4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 12:43:32 +08:00

[msh][ci]only GCC use strict checking

This commit is contained in:
Meco Man 2024-03-15 22:48:53 -04:00
parent 5a6b5be77c
commit 59231a4276

View File

@ -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'):