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

compel: cli -- Add more flags into cflags report

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Cyrill Gorcunov 2016-09-29 00:34:00 +03:00 committed by Andrei Vagin
parent c1133055ec
commit 219a99c74e

View File

@ -15,8 +15,14 @@
#include "version.h"
#include "piegen.h"
static const char compel_cflags_pie[] = "-fpie -Wa,--noexecstack -fno-stack-protector";
static const char compel_cflags_nopic[] = "-fno-pic -Wa,--noexecstack -fno-stack-protector";
static const char compel_cflags_pie[] =
"-fpie -Wstrict-prototypes -Wa,--noexecstack "
"-fno-stack-protector -fno-jump-tables -nostdlib "
"-fomit-frame-pointer";
static const char compel_cflags_nopic[] =
"-fno-pic -Wstrict-prototypes -Wa,--noexecstack "
"-fno-stack-protector -fno-jump-tables -nostdlib "
"-fomit-frame-pointer";
static const char compel_ldflags[] = "-r";
piegen_opt_t opts = {