build,arm: move LDFLAGS change to arch.mk
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 12 Oct 2021 09:50:47 +0000 (11:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Oct 2021 09:50:47 +0000 (11:50 +0200)
commitaa44f3c0a697cc387f79958d73e21594a9059cf6
tree707069fac24becda22d4ce77a33883e2c310d26f
parent71cf7634fa11038fd9a2aa471a1dc7714bb93e79
build,arm: move LDFLAGS change to arch.mk

Changes to XEN_LDFLAGS may or may not apply to targets in for example
"common/" depending on whether one runs `make` or `make common/`.

But arch.mk is loaded before doing any build, so changes to LDFLAGS
there mean that the value of XEN_LDFLAGS won't depends on the initial
target.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/Makefile
xen/arch/arm/arch.mk