summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-02 20:10:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-04-02 20:10:20 +0200
commitcae727233abb2922dbb71fb838c080845133ea1a (patch)
tree681157ebf6c4979bdc7b05d085132d9db3333592 /toolchain/gcc
parentc4dbb39da13f00dbc839600d53000e54ed945ab5 (diff)
fix lm32 toolchain building
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/patches/5.3.0/lm32-newlib-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/5.3.0/lm32-newlib-fix.patch b/toolchain/gcc/patches/5.3.0/lm32-newlib-fix.patch
new file mode 100644
index 000000000..4500ad55e
--- /dev/null
+++ b/toolchain/gcc/patches/5.3.0/lm32-newlib-fix.patch
@@ -0,0 +1,15 @@
+Backport from gcc git
+https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=f151e2adc9c93b5d65f551f087077609821b71b7
+
+diff -Nur gcc-5.3.0.orig/gcc/config.gcc gcc-5.3.0/gcc/config.gcc
+--- gcc-5.3.0.orig/gcc/config.gcc 2015-09-10 16:17:53.000000000 +0200
++++ gcc-5.3.0/gcc/config.gcc 2016-04-02 19:51:24.771406949 +0200
+@@ -1805,7 +1805,7 @@
+ md_file=iq2000/iq2000.md
+ ;;
+ lm32-*-elf*)
+- tm_file="dbxelf.h elfos.h ${tm_file}"
++ tm_file="dbxelf.h elfos.h ${tm_file} newlib-stdint.h"
+ tmake_file="${tmake_file} lm32/t-lm32"
+ ;;
+ lm32-*-rtems*)