aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-04-08 23:26:14 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-04-11 13:36:46 +0200
commitc1afcaec2af6d80d057b184eb86cbb018fce6517 (patch)
tree352edec140cddd5ad570093d60aaca019003121a /arch/s390
parents390: fine-tune stack switch helper (diff)
downloadlinux-dev-c1afcaec2af6d80d057b184eb86cbb018fce6517.tar.xz
linux-dev-c1afcaec2af6d80d057b184eb86cbb018fce6517.zip
s390: remove -fno-strength-reduce flag
This was added as a workaround for really old compilers, and it prevents building with clang now. I can see no reason for keeping it, as it has already been removed for most architectures in the pre-git era, so let's remove it everywhere, rather than only for clang. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/Makefile b/arch/s390/Makefile
index e21053e5e0da..9c079a506325 100644
--- a/arch/s390/Makefile
+++ b/arch/s390/Makefile
@@ -111,7 +111,7 @@ endif
cfi := $(call as-instr,.cfi_startproc\n.cfi_val_offset 15$(comma)-160\n.cfi_endproc,-DCONFIG_AS_CFI_VAL_OFFSET=1)
KBUILD_CFLAGS += -mbackchain -msoft-float $(cflags-y)
-KBUILD_CFLAGS += -pipe -fno-strength-reduce -Wno-sign-compare
+KBUILD_CFLAGS += -pipe -Wno-sign-compare
KBUILD_CFLAGS += -fno-asynchronous-unwind-tables $(cfi)
KBUILD_AFLAGS += $(aflags-y) $(cfi)
export KBUILD_AFLAGS_DECOMPRESSOR