Skip to content

Commit

Permalink
native: ignore format-truncation warnings (REVERTME)
Browse files Browse the repository at this point in the history
This is enabled by default in GCC 7, disable for now. Tracked in
issue zephyrproject-rtos#5732

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
  • Loading branch information
nashif authored and Anas Nashif committed Jan 24, 2018
1 parent e76de53 commit 5124711
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/posix/CMakeLists.txt
@@ -1,6 +1,7 @@
zephyr_cc_option_ifdef(CONFIG_LTO -flto)

zephyr_compile_options(
-Wno-format-truncation
-fno-freestanding
-Wno-undef
-Wno-implicit-function-declaration
Expand Down

0 comments on commit 5124711

Please sign in to comment.