bluedroid: suppress some -Waddress-of-packed-member warnings

This commit is contained in:
Anton Maklakov 2022-01-29 17:18:07 +07:00
parent e44d7fbaed
commit bcfec4ad74

View File

@ -673,6 +673,13 @@ if(CONFIG_BT_ENABLED)
target_link_libraries(${COMPONENT_LIB} PRIVATE nimblelib)
endif()
set_source_files_properties(
"host/bluedroid/bta/gatt/bta_gattc_act.c"
"host/bluedroid/bta/gatt/bta_gattc_cache.c"
"host/bluedroid/btc/profile/std/gatt/btc_gatt_util.c"
"host/bluedroid/btc/profile/std/gatt/btc_gatts.c"
PROPERTIES COMPILE_FLAGS -Wno-address-of-packed-member)
endif()
if(CONFIG_BT_NIMBLE_MESH)