diff options
| author | Bernard Xiong <[email protected]> | 2018-09-11 19:03:41 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-09-11 19:03:41 +0800 |
| commit | 651d8953913f45df20be1781f3b8f1108834b4cd (patch) | |
| tree | 3f41ea4271f85131e4f88f1c7af40e9f5ca8445d | |
| parent | 8c2448a4d40ace5187efeabb8d3ed164a6fe87e5 (diff) | |
| parent | 4496437a91af4b0fd62780bbce539835a284ccce (diff) | |
Merge pull request #1788 from liruncong/dev
修正打开"Support C++ features"后gcc编译失败问题
| -rwxr-xr-x | components/cplusplus/crt_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/cplusplus/crt_init.c b/components/cplusplus/crt_init.c index 6a05b00de9..2026131c52 100755 --- a/components/cplusplus/crt_init.c +++ b/components/cplusplus/crt_init.c @@ -36,11 +36,11 @@ void $Sub$$__cpp_initialize__aeabi_(void) } #elif defined(__GNUC__) && !defined(__CS_SOURCERYGXX_MAJ__) /* The _init()/_fini() routines has been defined in codesourcery g++ lite */ -void _init() +RT_WEAK void _init() { } -void _fini() +RT_WEAK void _fini() { } |
