build: fix exported variable name CFLAGS_stack_boundary
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 28 Jan 2022 10:44:33 +0000 (11:44 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 28 Jan 2022 10:44:33 +0000 (11:44 +0100)
commitaa390d513a67a6ec0a069eea7478e5ecd54a7ea6
treed7a8a216f752eed6fb9b16e6a212f42fcfb196ea
parent7be85daac5acca30bd4d6779ec03982528c35558
build: fix exported variable name CFLAGS_stack_boundary

Exporting a variable with a dash doesn't work reliably, they may be
striped from the environment when calling a sub-make or sub-shell.

CFLAGS-stack-boundary start to be removed from env in patch "build:
set ALL_OBJS in main Makefile; move prelink.o to main Makefile" when
running `make "ALL_OBJS=.."` due to the addition of the quote. At
least in my empirical tests.

Fixes: 2740d96efd ("xen/build: have the root Makefile generates the CFLAGS")
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/Rules.mk
xen/arch/x86/arch.mk
xen/arch/x86/efi/Makefile