From 6569412bbd607cf7dcc4cc4983d13a2f754bed43 Mon Sep 17 00:00:00 2001 From: Dmitry Safonov Date: Fri, 26 Feb 2021 03:10:35 +0000 Subject: [PATCH] Revert "compel: add -ffreestanding to force gcc not to use builtin memcpy, memset" This reverts commit c98af78c58e2168d2322cd0ee15837468fd4ffb0. Now FPU/SSE/MMX/etc can be used inside parasite. Let's have compiler optimizations back. Cc: Alexander Mikhalitsyn Signed-off-by: Dmitry Safonov --- compel/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compel/src/main.c b/compel/src/main.c index c5f6e57ed..2c98659cc 100644 --- a/compel/src/main.c +++ b/compel/src/main.c @@ -19,7 +19,7 @@ #define CFLAGS_DEFAULT_SET \ "-Wstrict-prototypes " \ - "-fno-stack-protector -nostdlib -fomit-frame-pointer -ffreestanding " + "-fno-stack-protector -nostdlib -fomit-frame-pointer " #define COMPEL_CFLAGS_PIE CFLAGS_DEFAULT_SET "-fpie" #define COMPEL_CFLAGS_NOPIC CFLAGS_DEFAULT_SET "-fno-pic"