From b0f7ca76bb58ba2c925dfba0214bd7f49a72efce Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 25 Jan 2018 16:52:38 +1100 Subject: darwin: Fix building GCC 4.9.3 on Darwin (MacOS). The latest Xcode command line tools broken on 4.9.3 and a patch is needed. Note, a suitable binutils is configured for the ARM. Close #2439 --- rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 c963350..b477628 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 @@ -25,6 +25,16 @@ %hash sha512 freebsd-212465-lang-gcc49.patch bfeb8780a934305b4b6de4b84ae2af4f086fb6d428c208c50cc70813df3f6769d460c214072fb89589e6bbd9afd48714ee3771bd0d6bf49588ef9283b358368a %endif +# +# MacOS High Sierra does not build objc +# +%if %{_build_os} == darwin + %patch add gcc -p0 https://devel.rtems.org/raw-attachment/ticket/2439/gcc-4.9.3-macos-xcode9.diff + %hash sha512 gcc-4.9.3-macos-xcode9.diff c2e95a3bf216e8f3415aebef5a0149984100498ea12285241a64f8758ff63dc9fb9c466e85416c9d35d79f9b5690a501131c44bcab0b44ecfbbcba778ca7644d + +%endif + + # # The gcc/newlib build instructions. # -- cgit v1.2.3