summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-03-01 18:12:49 +0800
committerBernard Xiong <[email protected]>2018-03-01 18:12:49 +0800
commit15fa3084c3d9365775a091096934d449e57bb4a7 (patch)
treefddc237bd29cf55156f041b692a0167b2220c003 /tools
parent44def114fb05bfff3556f70186cc4a74400dc217 (diff)
[Kernel] include finsh.h file in rtthread.h when RT_USING_FINSH enable
Diffstat (limited to 'tools')
-rw-r--r--tools/building.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/building.py b/tools/building.py
index 2a2f086b67..42cb37dc4f 100644
--- a/tools/building.py
+++ b/tools/building.py
@@ -141,7 +141,7 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
env['LIBDIRPREFIX'] = '--userlibpath '
if rtconfig.PLATFORM == 'gcc':
- if env['LINKFLAGS'].find('nano.specs'):
+ if str(env['LINKFLAGS']).find('nano.specs'):
env.AppendUnique(CPPDEFINES = ['_REENT_SMALL'])
# patch for win32 spawn