diff --git a/cmake/sample_defs/arch_build_custom_native.cmake b/cmake/sample_defs/arch_build_custom_native.cmake index 89c069d4b..04bf76664 100644 --- a/cmake/sample_defs/arch_build_custom_native.cmake +++ b/cmake/sample_defs/arch_build_custom_native.cmake @@ -7,5 +7,6 @@ # add_compile_options( -Wcast-align=strict # Warn about casts that increase alignment requirements + -fno-common # Do not use a common section for globals )