From: Vasily Gorbik Date: Fri, 15 Jun 2018 08:48:54 +0000 (+0200) Subject: s390/build: remove obsolete -mkernel-backchain flag X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=19f73e16199ee21b95e15bb5c380ad69f12e8c5b;p=openwrt%2Fstaging%2Fblogic.git s390/build: remove obsolete -mkernel-backchain flag -mkernel-backchain cc flag is obsolete since quite a while, and not present in minimal (supported by s390) gcc version 4.3. Removing it. Reviewed-by: Heiko Carstens Signed-off-by: Vasily Gorbik Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/Makefile b/arch/s390/Makefile index 8a41110d3a9a..cdf3557864e1 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile @@ -52,13 +52,6 @@ cflags-y += -Wa,-I$(srctree)/arch/$(ARCH)/include # cflags-$(CONFIG_FRAME_POINTER) += -fno-optimize-sibling-calls -# old style option for packed stacks -ifeq ($(call cc-option-yn,-mkernel-backchain),y) -cflags-$(CONFIG_PACK_STACK) += -mkernel-backchain -D__PACK_STACK -aflags-$(CONFIG_PACK_STACK) += -D__PACK_STACK -endif - -# new style option for packed stacks ifeq ($(call cc-option-yn,-mpacked-stack),y) cflags-$(CONFIG_PACK_STACK) += -mpacked-stack -D__PACK_STACK aflags-$(CONFIG_PACK_STACK) += -D__PACK_STACK