summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-01-25 16:52:38 +1100
committerChris Johns <chrisj@rtems.org>2018-01-25 16:52:38 +1100
commitb0f7ca76bb58ba2c925dfba0214bd7f49a72efce (patch)
tree093944631e369bf6f644dfbec62a640c7c209a0d
parentkernel: Do not build the RTEMS kernel by default when released. (diff)
downloadrtems-source-builder-b0f7ca76bb58ba2c925dfba0214bd7f49a72efce.tar.bz2
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
-rw-r--r--rtems/config/tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg10
1 files changed, 10 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 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
@@ -26,6 +26,16 @@
%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.
#
%include tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg