diff options
author | Andrew Cooper <andrew.cooper3@citrix.com> | 2022-09-27 16:47:08 +0100 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@amd.com> | 2022-09-27 15:40:42 -0700 |
commit | 13a7c0074ac8fb31f6c0485429b7a20a1946cb22 (patch) | |
tree | 90a645fa6cac5d63c5cd2b247d788fb59dcd02af /Config.mk | |
parent | 5e936d11b171793c174686268c9c1df8a4fa974c (diff) | |
download | xen-13a7c0074ac8fb31f6c0485429b7a20a1946cb22.tar.gz |
Build: Drop -no-pie from EMBEDDED_EXTRA_CFLAGS
This breaks all Clang builds, as demostrated by Gitlab CI.
Contrary to the description in ecd6b9759919, -no-pie is not even an option
passed to the linker. GCC's actual behaviour is to inhibit the passing of
-pie to the linker, as well as selecting different cr0 artefacts to be linked.
EMBEDDED_EXTRA_CFLAGS is not used for $(CC)-doing-linking, and not liable to
gain such a usecase.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Stefano Stabellini <sstabellini@kernel.org>
Fixes: ecd6b9759919 ("Config.mk: correct PIE-related option(s) in EMBEDDED_EXTRA_CFLAGS")
Diffstat (limited to 'Config.mk')
-rw-r--r-- | Config.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -188,7 +188,7 @@ endif APPEND_LDFLAGS += $(foreach i, $(APPEND_LIB), -L$(i)) APPEND_CFLAGS += $(foreach i, $(APPEND_INCLUDES), -I$(i)) -EMBEDDED_EXTRA_CFLAGS := -fno-pie -no-pie -fno-stack-protector -fno-stack-protector-all +EMBEDDED_EXTRA_CFLAGS := -fno-pie -fno-stack-protector -fno-stack-protector-all EMBEDDED_EXTRA_CFLAGS += -fno-exceptions -fno-asynchronous-unwind-tables XEN_EXTFILES_URL ?= http://xenbits.xen.org/xen-extfiles |