summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-05-18 15:14:21 +1000
committerChris Johns <chrisj@rtems.org>2017-05-18 15:14:21 +1000
commit7ebd0e9213c4ee217d799b95dcbb7e59e00665bd (patch)
tree46fb61e8ff35ec5a3cc221ba1fb46efc392cb8a8
parentf99c37eb0ad77676bf866961ffb784113b4743f6 (diff)
downloadrtems-source-builder-7ebd0e9213c4ee217d799b95dcbb7e59e00665bd.tar.bz2
4.12/mips: Fix building on FreeBSD.
-rw-r--r--rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170323-1.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170323-1.cfg b/rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170323-1.cfg
index fd4703c..c865910 100644
--- a/rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170323-1.cfg
+++ b/rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170323-1.cfg
@@ -7,6 +7,14 @@
%define mpc_version 0.8.1
%define gmp_version 4.3.2
+#
+# 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
+
%hash sha512 gcc-6.3.0.tar.bz2 234dd9b1bdc9a9c6e352216a7ef4ccadc6c07f156006a59759c5e0e6a69f0abcdc14630eff11e3826dd6ba5933a8faa43043f3d1d62df6bd5ab1e82862f9bf78
%hash sha512 newlib-2.5.0.20170323.tar.gz 323992603f994e82d1b8117da39ce08f8a6584330606e2d053ccefc62fce5682ac47f983aa3bc526c85bcabbcfce85cf607b08f87c5435d00cec6727c006f6b7
%hash sha512 mpfr-2.4.2.tar.bz2 c004b3dbf86c04960e4a1f8db37a409a7cc4cb76135e76e98dcc5ad93aaa8deb62334ee13ff84447a7c12a5e8cb57f25c62ac908c24920f1fb1a38d79d4a4c5e