diff options
| author | liruncong <[email protected]> | 2018-09-09 23:25:28 +0800 |
|---|---|---|
| committer | liruncong <[email protected]> | 2018-09-10 19:20:38 +0800 |
| commit | 4496437a91af4b0fd62780bbce539835a284ccce (patch) | |
| tree | 178a6819618f93a24b147207f3d1b4bcb78e2dc8 /components/cplusplus | |
| parent | 95c36f32e20b9799907890cbb6d366ad783501b1 (diff) | |
8. _init/_fini加入RT_WEAK,与库中定义重复,以便通过通过travis ci的gcc自定编译.
Diffstat (limited to 'components/cplusplus')
| -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() { } |
