4.12/gcc-4.8.3 Fix building with a newer version of gcc.

Updates #2990.
This commit is contained in:
Chris Johns 2017-08-08 20:44:16 +10:00
parent 71c76d09e8
commit 826e526d33

View File

@ -25,4 +25,18 @@
%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=a3617d7bde0ac1f816f9311f6d715b0b73f6ecff
%hash sha512 newlib-cygwin-git-a3617d7bde0ac1f816f9311f6d715b0b73f6ecff.patch 3861d8f44a3f73dd3ecdea4161ce23111429811bfd7cdd3992ffa7075881583b06f4b7149db36e990637cf99e176617bed0a0f1b818adb1ec64604f13cd2630c
#
# Fix for MSYS2 on Windows. See ticket #2990 for details.
#
%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/2990/gcc-4.9.3-20170404-1.patch
%hash sha512 gcc-4.9.3-20170404-1.patch c6402e578793e39869d0f3ba021922794e8ea30595286f63cbc9d32c5cb9ef1d9bb3be28f2a9127077d62a44f425f9c0685e3c22596aed67837fe2fcf8a09e71
#
# 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
%include tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg