xen: Remove -fshort-wchar gcc flag

- This commit fixes a error message generated by Make in case of distclean
drivers/xen/Makefile:13: *** Recursive variable 'LDFLAGS' references itself (eventually).  Stop.

- Since the later sublevel of kernel 4.9.y, this options have been removed.

Change-Id: Ia80dbe6c45434fd6325ee4c39a67c047e1a27b45
This commit is contained in:
Joy Cho
2019-03-29 17:04:25 +09:00
parent efca4b5948
commit 700f27fef6

View File

@@ -7,11 +7,6 @@ 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
dom0-$(CONFIG_USB_SUPPORT) += dbgp.o