firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-drivers_xen_Makefile....

15 lines
503 B
Diff

diff -drupN a/drivers/xen/Makefile b/drivers/xen/Makefile
--- a/drivers/xen/Makefile 2018-08-06 17:23:04.000000000 +0300
+++ b/drivers/xen/Makefile 2022-06-12 05:28:14.000000000 +0300
@@ -7,8 +7,10 @@ obj-y += xenbus/
nostackp := $(call cc-option, -fno-stack-protector)
CFLAGS_features.o := $(nostackp)
+ifndef CONFIG_LTO_CLANG
CFLAGS_efi.o += -fshort-wchar
LDFLAGS += $(call ld-option, --no-wchar-size-warning)
+endif
dom0-$(CONFIG_ARM64) += arm-device.o
dom0-$(CONFIG_PCI) += pci.o