Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an issue that occurs when using LTO and TCP is not enabled.
When building and linking with link time optimizations and TCP is not enabled (OPENTHREAD_CONFIG_TCP_ENABLE = 0) the following error occurs: tcp_subr.c:96: undefined reference to tcplp_sys_get_ticks' To address the problem we are removing the __attribute__((used)) annotation on the initialize_tcb function which will prevent the function from being retained when no one references it.
- Loading branch information