2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

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 1bac3a64b9
commit a87c61fe8e

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"