diff options
| author | Bernard Xiong <[email protected]> | 2014-11-01 15:38:43 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2014-11-01 15:38:43 +0800 |
| commit | 16ff73b51b6ab3c7edb57836461d18b01add47b3 (patch) | |
| tree | 3792106f74dd3f831ec0414567139f8b5307675c /components/cplusplus/SConscript | |
| parent | e22264f1d078d980320e957c1f4a856313aa552e (diff) | |
| parent | c319182651dc6d4bcf0be483ec0e08a424f8b381 (diff) | |
Merge pull request #362 from BernardXiong/master
[C++] fix GCC compiling issue.
Diffstat (limited to 'components/cplusplus/SConscript')
| -rw-r--r-- | components/cplusplus/SConscript | 4 |
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') |
