Arm32: prune (again) ld warning about mismatched wchar_t sizes
authorJan Beulich <jbeulich@suse.com>
Thu, 27 Oct 2022 09:50:47 +0000 (11:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 27 Oct 2022 09:50:47 +0000 (11:50 +0200)
The name change (stub.c -> common-stub.c) rendered the earlier
workaround (commit a4d4c541f58b ["xen/arm32: avoid EFI stub wchar_t size
linker warning"]) ineffectual.

Fixes: bfd3e9945d1b ("build: fix x86 out-of-tree build without EFI")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
xen/arch/arm/efi/Makefile

index 2459cbae3aef1196b1ef8e21a731241fdefe28a9..74b7274bdd3d1e1e8ab7db3c6abcbb2c82e30e02 100644 (file)
@@ -6,6 +6,6 @@ obj-$(CONFIG_ACPI) +=  efi-dom0.init.o
 else
 obj-y += common-stub.o
 
-$(obj)/stub.o: CFLAGS-y += -fno-short-wchar
+$(obj)/common-stub.o: CFLAGS-y += -fno-short-wchar
 
 endif