From 15247f9305690b544fffb76d3639996a4ed0a127 Mon Sep 17 00:00:00 2001 From: "Man, Jianting (Meco)" <920369182@qq.com> Date: Wed, 23 Mar 2022 08:13:59 -0400 Subject: [PATCH] fix(rt-thread): Sconscript use LOCAL_CFLAGS to replace LOCAL_CCFLAGS (#3196) --- env_support/rt-thread/SConscript | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/env_support/rt-thread/SConscript b/env_support/rt-thread/SConscript index c8f4ba091..567da0290 100644 --- a/env_support/rt-thread/SConscript +++ b/env_support/rt-thread/SConscript @@ -52,15 +52,15 @@ if GetDepend('PKG_USING_LVGL_DEMOS'): if check_h_hpp_exsit(current_path): inc = inc + [current_path] -LOCAL_CCFLAGS = '' +LOCAL_CFLAGS = '' if rtconfig.PLATFORM == 'gcc': # GCC - LOCAL_CCFLAGS += ' -std=c99' + LOCAL_CFLAGS += ' -std=c99' elif rtconfig.PLATFORM == 'armcc': # Keil AC5 - LOCAL_CCFLAGS += ' --c99 --gnu -g -W' + LOCAL_CFLAGS += ' --c99 --gnu -g -W' elif rtconfig.PLATFORM == 'armclang': # Keil AC6 - LOCAL_CCFLAGS += ' -std=c99 -g -w' + LOCAL_CFLAGS += ' -std=c99 -g -w' -group = group + DefineGroup('LVGL', src, depend = ['PKG_USING_LVGL'], CPPPATH = inc, LOCAL_CCFLAGS = LOCAL_CCFLAGS) +group = group + DefineGroup('LVGL', src, depend = ['PKG_USING_LVGL'], CPPPATH = inc, LOCAL_CFLAGS = LOCAL_CFLAGS) list = os.listdir(cwd) for d in list: