From 5f8841dfe51efc0f32c87ce3fa3a4610bcfb3275 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 16 Sep 2019 08:21:29 +1000 Subject: darwin: Update gcc-9.2.0-newlib-6661a67 to include sed and darwin patches --- rtems/config/tools/rtems-gcc-9.2.0-newlib-6661a67.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rtems/config/tools/rtems-gcc-9.2.0-newlib-6661a67.cfg b/rtems/config/tools/rtems-gcc-9.2.0-newlib-6661a67.cfg index 3ccfeb9..8a3a49d 100644 --- a/rtems/config/tools/rtems-gcc-9.2.0-newlib-6661a67.cfg +++ b/rtems/config/tools/rtems-gcc-9.2.0-newlib-6661a67.cfg @@ -1,6 +1,16 @@ %include %{_configdir}/checks.cfg %include %{_configdir}/base.cfg +%if %{_build_os} == freebsd || %{_build_os} == darwin + %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 + +%if %{_build_os} == darwin + %patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/3171/darwin-libstdcpp-noparallel-fix.patch + %hash sha512 darwin-libstdcpp-noparallel-fix.patch 01fa1bd55f19b01f10c41fdfe31356a7a4ddf265ebac8f4b974ccd1718181fd56bcb18a96e0492aa37511f08b37f94052a5557e21075604fceee06d80ffbb7d8 +%endif + %define gcc_version 9.2.0 %source set gcc https://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.xz %hash sha512 gcc-%{gcc_version}.tar.xz a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040 -- cgit v1.2.3