From 18b5382e9c535f7f530fdd3abbe33ef18629a042 Mon Sep 17 00:00:00 2001 From: Thorsten Johannvorderbrueggen Date: Thu, 25 Aug 2016 17:17:22 +0200 Subject: add support for gcc 4.9.4 --- patches/gcc/4.9.4/890-fix-m68k-compile.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 patches/gcc/4.9.4/890-fix-m68k-compile.patch (limited to 'patches/gcc/4.9.4/890-fix-m68k-compile.patch') diff --git a/patches/gcc/4.9.4/890-fix-m68k-compile.patch b/patches/gcc/4.9.4/890-fix-m68k-compile.patch new file mode 100644 index 00000000..140977b3 --- /dev/null +++ b/patches/gcc/4.9.4/890-fix-m68k-compile.patch @@ -0,0 +1,15 @@ +remove unused header, which breaks the toolchain building + +Signed-off-by: Waldemar Brodkorb + +diff -Nur gcc-4.9.3.orig/libgcc/config/m68k/linux-atomic.c gcc-4.9.3/libgcc/config/m68k/linux-atomic.c +--- gcc-4.9.3.orig/libgcc/config/m68k/linux-atomic.c 2014-01-02 23:25:22.000000000 +0100 ++++ gcc-4.9.3/libgcc/config/m68k/linux-atomic.c 2016-03-18 22:24:40.000000000 +0100 +@@ -33,7 +33,6 @@ + using the kernel helper defined below. There is no support for + 64-bit operations yet. */ + +-#include + #include + + #ifndef __NR_atomic_cmpxchg_32 -- cgit v1.2.3