diff mbox series

Makefile: remove m68k GCC 3.4 workaround

Message ID 20200514023820.3165438-1-masahiroy@kernel.org
State Accepted
Commit 248cf96d36a5dc2cacbbc332901f40b1c88b98d6
Headers show
Series Makefile: remove m68k GCC 3.4 workaround | expand

Commit Message

Masahiro Yamada May 14, 2020, 2:38 a.m. UTC
This code dates back to 2006, commit 483a0cf804df ("Fixes for gcc 3.4
based m68k toolchain,").

GCC 3.4 is so old. We do not support it.

Signed-off-by: Masahiro Yamada <masahiroy at kernel.org>
---

 Makefile | 7 -------
 1 file changed, 7 deletions(-)

Comments

Tom Rini May 15, 2020, 8:54 p.m. UTC | #1
On Thu, May 14, 2020 at 11:38:20AM +0900, Masahiro Yamada wrote:

> This code dates back to 2006, commit 483a0cf804df ("Fixes for gcc 3.4
> based m68k toolchain,").
> 
> GCC 3.4 is so old. We do not support it.
> 
> Signed-off-by: Masahiro Yamada <masahiroy at kernel.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index a9d58ca7a0..97fd492bc0 100644
--- a/Makefile
+++ b/Makefile
@@ -722,13 +722,6 @@  else
 KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
 endif
 
-# turn jbsr into jsr for m68k
-ifeq ($(ARCH),m68k)
-ifeq ($(findstring 3.4,$(shell $(CC) --version)),3.4)
-KBUILD_AFLAGS += -Wa,-gstabs,-S
-endif
-endif
-
 # Prohibit date/time macros, which would make the build non-deterministic
 KBUILD_CFLAGS   += $(call cc-option,-Werror=date-time)