diff --git a/core/combo/TARGET_linux-x86.mk b/core/combo/TARGET_linux-x86.mk index 569914b7d2..948ee17d8f 100644 --- a/core/combo/TARGET_linux-x86.mk +++ b/core/combo/TARGET_linux-x86.mk @@ -84,6 +84,7 @@ TARGET_GLOBAL_CFLAGS += \ -Ulinux \ -Wa,--noexecstack \ -Werror=format-security \ + -D_FORTIFY_SOURCE=1 \ -Wstrict-aliasing=2 \ -fPIC -fPIE \ -ffunction-sections \