diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-02 16:12:56 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-02 16:12:56 +0100 |
commit | c74770c68d13e944dfb514dc4a745cee5acd3e69 (patch) | |
tree | 20895baa9d8d9f48712486c9e0dc99e9fcf59451 /toolchain/gcc/patches/5.2.0/fix-nios2.patch | |
parent | 4e6e36f25af9c113bdef737600275ca0671dee74 (diff) |
fix gcc 5.2 nios2/tilegx toolchain building
Diffstat (limited to 'toolchain/gcc/patches/5.2.0/fix-nios2.patch')
-rw-r--r-- | toolchain/gcc/patches/5.2.0/fix-nios2.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/5.2.0/fix-nios2.patch b/toolchain/gcc/patches/5.2.0/fix-nios2.patch new file mode 100644 index 000000000..8fe2589ce --- /dev/null +++ b/toolchain/gcc/patches/5.2.0/fix-nios2.patch @@ -0,0 +1,11 @@ +diff -Nur gcc-4.9.3.orig/libgcc/config/nios2/linux-atomic.c gcc-4.9.3/libgcc/config/nios2/linux-atomic.c +--- gcc-4.9.3.orig/libgcc/config/nios2/linux-atomic.c 2014-01-02 23:25:22.000000000 +0100 ++++ gcc-4.9.3/libgcc/config/nios2/linux-atomic.c 2015-12-01 22:50:00.029946306 +0100 +@@ -20,7 +20,6 @@ + see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + <http://www.gnu.org/licenses/>. */ + +-#include <asm/unistd.h> + #define EFAULT 14 + #define EBUSY 16 + #define ENOSYS 38 |