summaryrefslogtreecommitdiff
path: root/package/gcc/patches/5.3.0/bfin-fix-gcc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/gcc/patches/5.3.0/bfin-fix-gcc.patch')
-rw-r--r--package/gcc/patches/5.3.0/bfin-fix-gcc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/gcc/patches/5.3.0/bfin-fix-gcc.patch b/package/gcc/patches/5.3.0/bfin-fix-gcc.patch
new file mode 100644
index 000000000..a0643f5fc
--- /dev/null
+++ b/package/gcc/patches/5.3.0/bfin-fix-gcc.patch
@@ -0,0 +1,12 @@
+diff -Nur gcc-4.9.3.orig/gcc/config.gcc gcc-4.9.3/gcc/config.gcc
+--- gcc-4.9.3.orig/gcc/config.gcc 2015-05-21 22:50:59.000000000 +0200
++++ gcc-4.9.3/gcc/config.gcc 2015-11-23 22:51:58.686375134 +0100
+@@ -1101,7 +1101,7 @@
+ ;;
+ bfin*-linux-uclibc*)
+ tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h gnu-user.h linux.h glibc-stdint.h bfin/linux.h ./linux-sysroot-suffix.h"
+- tmake_file="bfin/t-bfin-linux t-slibgcc t-linux"
++ tmake_file="${tmake_file} bfin/t-bfin-linux t-slibgcc t-linux"
+ use_collect2=no
+ ;;
+ bfin*-rtems*)