File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1022,3 +1022,14 @@ if(NOT CMAKE_BUILD_EARLY_EXPANSION)
10221022 "${CMAKE_CURRENT_LIST_DIR} /host/bluedroid/btc/profile/std/gap/btc_gap_ble.c"
10231023 PROPERTIES COMPILE_FLAGS "${jump_table_opts} " )
10241024endif ()
1025+
1026+ if (CMAKE_C_COMPILER_ID MATCHES "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_GREATER 15.0)
1027+ if (CONFIG_BT_BLUEDROID_ENABLED)
1028+ set_source_files_properties ("host/bluedroid/device/controller.c"
1029+ PROPERTIES COMPILE_FLAGS "-Wno-unterminated-string-initialization" )
1030+ endif ()
1031+ if (CONFIG_BT_NIMBLE_ENABLED AND CONFIG_BT_NIMBLE_MESH)
1032+ set_source_files_properties ("host/nimble/nimble/nimble/host/mesh/src/prov.c"
1033+ PROPERTIES COMPILE_FLAGS "-Wno-unterminated-string-initialization" )
1034+ endif ()
1035+ endif ()
You can’t perform that action at this time.
0 commit comments