Revert "compel: add -ffreestanding to force gcc not to use builtin memcpy, memset"

This reverts commit c98af78c58.

Now FPU/SSE/MMX/etc can be used inside parasite.
Let's have compiler optimizations back.

Cc: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>
Signed-off-by: Dmitry Safonov <dima@arista.com>
This commit is contained in:
Dmitry Safonov 2021-02-26 03:10:35 +00:00 committed by Andrei Vagin
parent fc1fefd6e4
commit 6569412bbd

View file

@ -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"