summaryrefslogtreecommitdiff
path: root/packages/gcc/6.5.0/0009-fix-m68k-compile.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-11-08 19:03:43 (GMT)
committerGitHub <noreply@github.com>2018-11-08 19:03:43 (GMT)
commit616870f619ab97c31466c71b37ca07978dc9ed65 (patch)
tree5725b0b2d23809a7abc2a351ba52b240d48686c0 /packages/gcc/6.5.0/0009-fix-m68k-compile.patch
parent56cad6c9deb92dc42aaba1beb656ffcb88ca8962 (diff)
parent42947861786de2bdddf2032d1d227636565cd16b (diff)
Merge pull request #1090 from stilor/gcc6.5
updates
Diffstat (limited to 'packages/gcc/6.5.0/0009-fix-m68k-compile.patch')
-rw-r--r--packages/gcc/6.5.0/0009-fix-m68k-compile.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/gcc/6.5.0/0009-fix-m68k-compile.patch b/packages/gcc/6.5.0/0009-fix-m68k-compile.patch
new file mode 100644
index 0000000..9437f25
--- /dev/null
+++ b/packages/gcc/6.5.0/0009-fix-m68k-compile.patch
@@ -0,0 +1,18 @@
+remove unused header, which breaks the toolchain building
+
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+
+---
+ libgcc/config/m68k/linux-atomic.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+--- a/libgcc/config/m68k/linux-atomic.c
++++ b/libgcc/config/m68k/linux-atomic.c
+@@ -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