mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
fix(rt-thread): Sconscript use LOCAL_CFLAGS to replace LOCAL_CCFLAGS (#3196)
This commit is contained in:
parent
2b6cc3bc9c
commit
15247f9305
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user