efi: Revert "efi/x86: Fix build with gcc 4"
authorArd Biesheuvel <ardb@kernel.org>
Thu, 9 Jul 2020 06:59:57 +0000 (09:59 +0300)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 9 Jul 2020 07:14:29 +0000 (10:14 +0300)
This reverts commit 5435f73d5c4a1b75, which is no longer needed now
that the minimum GCC version has been bumped to v4.9

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/Makefile

index 4cce372..75daaf2 100644 (file)
@@ -6,8 +6,7 @@
 # enabled, even if doing so doesn't break the build.
 #
 cflags-$(CONFIG_X86_32)                := -march=i386
-cflags-$(CONFIG_X86_64)                := -mcmodel=small \
-                                  $(call cc-option,-maccumulate-outgoing-args)
+cflags-$(CONFIG_X86_64)                := -mcmodel=small
 cflags-$(CONFIG_X86)           += -m$(BITS) -D__KERNEL__ \
                                   -fPIC -fno-strict-aliasing -mno-red-zone \
                                   -mno-mmx -mno-sse -fshort-wchar \