From d3376a63f3a079b4761dcc4747d468af2027b917 Mon Sep 17 00:00:00 2001 From: Paul FLORENCE Date: Wed, 18 Sep 2019 17:25:38 +0200 Subject: [PATCH] Ajout de `-fno-stack-protector` en argument de gcc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sur certaines distributions, il est nécessaire de passer `-fno-stack-protector` à gcc pour compiler. Plus d'info [ici](https://stackoverflow.com/questions/10712972/what-is-the-use-of-fno-stack-protector#10713028) --- utils/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/config.mk b/utils/config.mk index 4bc7c70..92a1522 100644 --- a/utils/config.mk +++ b/utils/config.mk @@ -16,7 +16,7 @@ CFLG_FP := -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 \ -mno-fma4 -mno-xop -mno-lwp -mno-3dnow -mno-popcnt \ -mno-abm -mno-bmi -mno-bmi2 -mno-lzcnt -mno-tbm -CFLG_32 := -m32 -g -fno-pic +CFLG_32 := -m32 -g -fno-pic -fno-stack-protector CFLG_WRN := -Wall -W -Werror CFLG_KRN := -pipe -nostdlib -nostdinc -ffreestanding -fms-extensions CFLG_REL := -DRELEASE=\"secos-$(RELEASE)\"