summaryrefslogtreecommitdiff
path: root/components/cplusplus/SConscript
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2014-11-01 14:12:58 +0800
committerBernard Xiong <[email protected]>2014-11-01 14:12:58 +0800
commit1974bec8bf09e2e4e26bfc67ae0664c1b032eaae (patch)
tree8e82a9fbd9ac92f2fb355f9be2d3cda8826b56c3 /components/cplusplus/SConscript
parent38be10cf89958872e15e650ba1271b234554d7e6 (diff)
[C++] fix the ctors initialization issue
Diffstat (limited to 'components/cplusplus/SConscript')
-rw-r--r--components/cplusplus/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/cplusplus/SConscript b/components/cplusplus/SConscript
index eb95aaa3c2..b41537a52b 100644
--- a/components/cplusplus/SConscript
+++ b/components/cplusplus/SConscript
@@ -3,9 +3,9 @@
from building import *
cwd = GetCurrentDir()
-src = Glob('*.cpp')
+src = Glob('*.cpp') + Glob('*.c')
CPPPATH = [cwd]
-group = DefineGroup('CPlusPlus', src, depend = ['RT_USING_CPLUSPLUS'], CPPPATH = CPPPATH)
+group = DefineGroup('CPlusPlus', src, depend = ['RT_USING_CPLUSPLUS', 'RT_USING_LIBC'], CPPPATH = CPPPATH)
Return('group')