diff --git a/ini/native.ini b/ini/native.ini index 7ed705a782e..6a0cce38e80 100644 --- a/ini/native.ini +++ b/ini/native.ini @@ -37,7 +37,7 @@ build_src_filter = ${common.default_src_filter} +<src/HAL/LINUX> platform = native framework = build_flags = ${common.build_flags} -std=gnu++17 -D__PLAT_NATIVE_SIM__ -DU8G_HAL_LINKS -I/usr/include/SDL2 -IMarlin -IMarlin/src/HAL/NATIVE_SIM/u8g -build_src_flags = -Wall -Wno-expansion-to-defined -Wcast-align +build_src_flags = -Wall -Wno-expansion-to-defined -Wno-deprecated-declarations -Wcast-align release_flags = -g0 -O3 -flto debug_build_flags = -fstack-protector-strong -g -g3 -ggdb lib_compat_mode = off