diff --git a/wireless/bluetooth/nimble/CMakeLists.txt b/wireless/bluetooth/nimble/CMakeLists.txt index 86c370da0..586019767 100644 --- a/wireless/bluetooth/nimble/CMakeLists.txt +++ b/wireless/bluetooth/nimble/CMakeLists.txt @@ -194,6 +194,6 @@ if(CONFIG_NIMBLE) target_include_directories(nimble PUBLIC include ${INCLUDES}) target_compile_options(nimble PUBLIC -Wno-pointer-to-int-cast -Wno-undef - -Wno-format) + -Wno-format -Wno-unused-but-set-variable) target_sources(nimble PRIVATE ${SRCS}) endif() diff --git a/wireless/bluetooth/nimble/Makefile.nimble b/wireless/bluetooth/nimble/Makefile.nimble index e6d7fa456..adef4563b 100644 --- a/wireless/bluetooth/nimble/Makefile.nimble +++ b/wireless/bluetooth/nimble/Makefile.nimble @@ -66,4 +66,4 @@ CFLAGS += -Wno-pointer-to-int-cast -Wno-undef # disable printf format checks -CFLAGS += -Wno-format +CFLAGS += -Wno-format -Wno-unused-but-set-variable