mirror of
https://github.com/espressif/openthread.git
synced 2026-06-06 05:24:51 +00:00
fa3509ebce
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.