mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
tools/firmware: force -fcf-protection=none
Do so right in firmware/Rules.mk, like it's done for other compiler flags. Fixes:3667f7f8f7('x86: Introduce support for CET-IBT') Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Reviewed-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com> master commit:7225f6e0cdmaster date: 2022-04-04 12:30:00 +0100
This commit is contained in:
1 parent
3f48134e31
commit
87faac2c5e
1 file changed
+2
@@ -15,5 +15,7 @@ CFLAGS += -Werror
|
||||
|
||||
$(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
|
||||
|
||||
$(call cc-option-add,CFLAGS,CC,-fcf-protection=none)
|
||||
|
||||
# Extra CFLAGS suitable for an embedded type of environment.
|
||||
CFLAGS += -fno-builtin -msoft-float
|
||||