From 5b052db507c8f413dc7050f6ccaba2225c29a3cc Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Wed, 26 May 2021 02:43:23 +0200 Subject: [PATCH] CMakeLists.txt formatting --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c575a6a..a7b1b2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,3 +41,13 @@ idf_component_register( REQUIRES ${dependencies} ) + +target_compile_options(${COMPONENT_TARGET} + PRIVATE + -fstack-reuse=all + -fstack-protector-all + -Wno-unused-function + -Wno-deprecated-declarations + -Wno-missing-field-initializers + -Wno-parentheses +)