summaryrefslogtreecommitdiff
path: root/bsp/gd32105c-eval/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/gd32105c-eval/SConstruct')
-rw-r--r--bsp/gd32105c-eval/SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/gd32105c-eval/SConstruct b/bsp/gd32105c-eval/SConstruct
index 1bde67c902..6712d0169f 100644
--- a/bsp/gd32105c-eval/SConstruct
+++ b/bsp/gd32105c-eval/SConstruct
@@ -25,7 +25,7 @@ env = Environment(tools = ['mingw'],
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
-if rtconfig.PLATFORM == 'iar':
+if rtconfig.PLATFORM in ['iccarm']:
env.Replace(CCCOM = ['$CC $CFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = env["LINKCOM"] + ' --map project.map')