mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
compel/mips: fix parasite with GCC 12
This patch applies the '-ffreestanding' flag that was introduced with https://github.com/checkpoint-restore/criu/pull/1726 to MIPS. Fixes: #1725 Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
This commit is contained in:
parent
7280e96a79
commit
6d7c0d007e
@ -56,6 +56,7 @@ static const flags_t flags = {
|
|||||||
.cflags = COMPEL_CFLAGS_PIE,
|
.cflags = COMPEL_CFLAGS_PIE,
|
||||||
#elif defined CONFIG_MIPS
|
#elif defined CONFIG_MIPS
|
||||||
.arch = "mips",
|
.arch = "mips",
|
||||||
|
.cflags = COMPEL_CFLAGS_PIE,
|
||||||
#else
|
#else
|
||||||
#error "CONFIG_<ARCH> not defined, or unsupported ARCH"
|
#error "CONFIG_<ARCH> not defined, or unsupported ARCH"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user