mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user