Commit d2a1aa1b authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Andrei Vagin

compel: mv noexecstack from CFLAGS to LDFLAGS

In a manner similar to one of commit 9303ed3 ("Makefiles: move
-Wa,--noexecstack out of CFLAGS"), let's move this option to
linker flags (see the abovementioned commit for reasoning).

travis-ci: success for series starting with [1/3] compel: mv noexecstack from CFLAGS to LDFLAGS
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 04ae288a
......@@ -16,14 +16,14 @@
#include "piegen.h"
#define CFLAGS_DEFAULT_SET \
"-Wstrict-prototypes -Wa,--noexecstack " \
"-Wstrict-prototypes " \
"-fno-stack-protector -nostdlib -fomit-frame-pointer "
#define COMPEL_CFLAGS_PIE CFLAGS_DEFAULT_SET "-fpie -fno-jump-tables"
#define COMPEL_CFLAGS_PIE_JPT CFLAGS_DEFAULT_SET "-fpie"
#define COMPEL_CFLAGS_NOPIC CFLAGS_DEFAULT_SET "-fno-pic -fno-jump-tables"
#define COMPEL_LDFLAGS_DEFAULT "-r"
#define COMPEL_LDFLAGS_DEFAULT "-r -z noexecstack"
piegen_opt_t opts = {
.input_filename = NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment