From cae727233abb2922dbb71fb838c080845133ea1a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 2 Apr 2016 20:10:20 +0200 Subject: fix lm32 toolchain building --- toolchain/gcc/patches/5.3.0/lm32-newlib-fix.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 toolchain/gcc/patches/5.3.0/lm32-newlib-fix.patch (limited to 'toolchain') 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*) -- cgit v1.2.3