summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/5.3.0/lm32-newlib-fix.patch
blob: 4500ad55e881841f9ec79db7aee17ec49ab96f05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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*)