[gn] fix build with openthread_enable_core_config_args is false (#12265)

This commit fixes building with gn when
openthread_enable_core_config_args is false, which causes
openthread_config_tcp_enable undefined.
This commit is contained in:
Yakun Xu
2026-01-08 11:19:40 -08:00
committed by GitHub
parent 093531d37c
commit 6a9d92545b
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -45,6 +45,7 @@ check_build()
main()
{
check_build --args="use_clang=true openthread_project_core_config_file=\"../examples/platforms/simulation/openthread-core-simulation-config.h\""
for thread_version in 1.4 1.1; do
for use_clang in true false; do
check_build --args="use_clang=$use_clang openthread_config_thread_version=\"$thread_version\""