diff options
author | Alexey Neyman <stilor@att.net> | 2017-02-28 19:08:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-28 19:08:24 (GMT) |
commit | c8b355ea925cfea1f6ff00e2edef4f0afa0f76a7 (patch) | |
tree | ee8b04c33cf0797e985d0f5476d310e9abb8ba78 /patches/gcc/linaro-4.9-2017.01/890-fix-m68k-compile.patch | |
parent | ed7e671013eae3ffa7e683de9470b5cf80d3cb4f (diff) | |
parent | 99283866cc84102f22324a751a2ba3afb9221cb6 (diff) |
Merge pull request #622 from stilor/missing-linaro-patches
Add patches to Linaro GCC
Diffstat (limited to 'patches/gcc/linaro-4.9-2017.01/890-fix-m68k-compile.patch')
-rw-r--r-- | patches/gcc/linaro-4.9-2017.01/890-fix-m68k-compile.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/gcc/linaro-4.9-2017.01/890-fix-m68k-compile.patch b/patches/gcc/linaro-4.9-2017.01/890-fix-m68k-compile.patch new file mode 100644 index 0000000..140977b --- /dev/null +++ b/patches/gcc/linaro-4.9-2017.01/890-fix-m68k-compile.patch @@ -0,0 +1,15 @@ +remove unused header, which breaks the toolchain building + +Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> + +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 <asm/unistd.h> + #include <stdbool.h> + + #ifndef __NR_atomic_cmpxchg_32 |