mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
common: remove -fno-stack-protector from EMBEDDED_EXTRA_CFLAGS
This patch is preparation for making stack protector configurable. First step is to remove -fno-stack-protector flag from EMBEDDED_EXTRA_CFLAGS so separate components (Hypervisor in this case) can enable/disable this feature by themselves. Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
66f9aceafd
commit
981d5550fd
6 files changed
+8
-2
No files matched your search
@@ -198,7 +198,7 @@ endif
|
||||
APPEND_LDFLAGS += $(foreach i, $(APPEND_LIB), -L$(i))
|
||||
APPEND_CFLAGS += $(foreach i, $(APPEND_INCLUDES), -I$(i))
|
||||
|
||||
EMBEDDED_EXTRA_CFLAGS := -fno-pie -fno-stack-protector
|
||||
EMBEDDED_EXTRA_CFLAGS := -fno-pie
|
||||
EMBEDDED_EXTRA_CFLAGS += -fno-exceptions -fno-asynchronous-unwind-tables
|
||||
|
||||
XEN_EXTFILES_URL ?= https://xenbits.xen.org/xen-extfiles
|
||||
|
||||