Skip to content

Commit bc7c999

Browse files
Finn Thaingeertu
authored andcommitted
m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS
This workaround became redundant either when the driver in question was removed (in Linux v2.6.23) or when the compiler flag became a no-op (in GCC v4.2). Linux has required GCC v4.6 or later since v4.19. Link: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=efa1cdf01850b28c2f6f7035ebd4420259494615 References: commit 565bae6 ("[SCSI] 53c7xx: kill driver") References: commit cafa001 ("Raise the minimum required gcc version to 4.6") Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Link: https://lore.kernel.org/r/baa95d7235921dff23bed6320518f3fa90396603.1612681353.git.fthain@telegraphics.com.au Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
1 parent 6efb943 commit bc7c999

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/m68k/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ KBUILD_CFLAGS += $(cpuflags-y)
6666
KBUILD_CFLAGS += -pipe -ffreestanding
6767

6868
ifdef CONFIG_MMU
69-
# without -fno-strength-reduce the 53c7xx.c driver fails ;-(
70-
KBUILD_CFLAGS += -fno-strength-reduce -ffixed-a2
69+
KBUILD_CFLAGS += -ffixed-a2
7170
else
7271
# we can use a m68k-linux-gcc toolchain with these in place
7372
KBUILD_CPPFLAGS += -DUTS_SYSNAME=\"uClinux\"

0 commit comments

Comments
 (0)