Merge branch 'fix/ulp_full_build_test_fix' into 'master'

fix(cxx): skip flag setup for custom-toolchain subprojects

Closes IDFCI-13457

See merge request espressif/esp-idf!51545
This commit is contained in:
Sudeep Mohanty
2026-08-05 12:25:37 +02:00

View File

@@ -1,3 +1,9 @@
# Sub-projects with a custom toolchain (e.g. ULP) do not use the IDF
# toolchain response file machinery. Skip flag manipulation.
if(IDF_CUSTOM_TOOLCHAIN)
return()
endif()
if(NOT CONFIG_IDF_TARGET_LINUX)
if(CONFIG_COMPILER_CXX_ATOMIC_LOCK_POLICY)
idf_toolchain_add_flags(CXX_COMPILE_OPTIONS "-D_GLIBCXX_HAVE_ATOMIC_LOCK_POLICY=1")