cannelloni: needs dynamic library
[buildroot-gz.git] / package / gcc / 4.8.5 / 890-fix-m68k-compile.patch
blob124e8427f8a56f2290b356f00d089ccd159a01e1
1 remove unused header, which breaks the toolchain building
3 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
5 diff -Nur gcc-4.8.5.orig/libgcc/config/m68k/linux-atomic.c gcc-4.8.5/libgcc/config/m68k/linux-atomic.c
6 --- gcc-4.8.5.orig/libgcc/config/m68k/linux-atomic.c 2013-02-04 20:06:20.000000000 +0100
7 +++ gcc-4.8.5/libgcc/config/m68k/linux-atomic.c 2016-03-19 00:18:12.000000000 +0100
8 @@ -33,7 +33,6 @@
9 using the kernel helper defined below. There is no support for
10 64-bit operations yet. */
12 -#include <asm/unistd.h>
13 #include <stdbool.h>
15 #ifndef __NR_atomic_cmpxchg_32