[PATCH 1/2] 4.12/mips: Fix building on FreeBSD.
Chris Johns
chrisj at rtems.org
Thu May 18 05:15:43 UTC 2017
---
rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170323-1.cfg | 8 ++++++++
1 file changed, 8 insertions(+)
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
--
2.12.1
More information about the devel
mailing list