toolchain/gcc: fix build on MacOS arm64
authorSergey V. Lobanov <sergey@lobanov.in>
Mon, 29 Nov 2021 16:09:10 +0000 (19:09 +0300)
committerPaul Spooren <mail@aparcar.org>
Thu, 2 Dec 2021 13:43:41 +0000 (14:43 +0100)
commitab241e0937c9cea4ae606f204ce82749373611f0
treea0f3b4957c617e4c87b38ddc822fd17cec14f275
parent8fedc17d01806c8a4bf4ed9e83a9523677d37bbd
toolchain/gcc: fix build on MacOS arm64

Added patch for GCC to fix compilation issues on MacOS arm64

The original commit message from Przemysław Buczkowski:

GCC: Patch for Apple Silicon compatibility

This patch fixes a linker error occuring when compiling
the cross-compiler on macOS and ARM64 architecture.

Adapted from:
https://github.com/richfelker/musl-cross-make/issues/116#issuecomment-823612404

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
toolchain/gcc/patches/11.2.0/970-macos_arm64-building-fix.patch [new file with mode: 0644]