summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg b/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg
index 1e372e3..54f864f 100644
--- a/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg
@@ -15,6 +15,14 @@
%hash sha512 gcc-4.9.3-20170404-1.patch c6402e578793e39869d0f3ba021922794e8ea30595286f63cbc9d32c5cb9ef1d9bb3be28f2a9127077d62a44f425f9c0685e3c22596aed67837fe2fcf8a09e71
#
+# FreeBSD specific fix for MIPS
+#
+%if %{_build_os} == freebsd
+ %patch add gcc --rsb-file=freebsd-libgcc-sed-fix.patch -p0 https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380
+ %hash sha256 freebsd-libgcc-sed-fix.patch 8a11bd619c2e55466688e328da00b387d02395c1e8ff4a99225152387a1e60a4
+%endif
+
+#
# The gcc/newlib build instructions.
#
%include tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg