diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d1c3cd0970..190172d3049 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -136,6 +136,7 @@ zephyr_compile_options( -imacros ${AUTOCONF_H} -ffreestanding -Wno-main + -fno-common ${NOSTDINC_F} ${TOOLCHAIN_C_FLAGS} )