toolchain/gcc: Backport patch to fix unconditional MULTIARCH_DIRNAME
authorJeffery To <jeffery.to@gmail.com>
Mon, 18 Nov 2019 22:04:59 +0000 (06:04 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 22 Dec 2019 23:04:18 +0000 (00:04 +0100)
commitc102f702e7dc976c2ad2c04c0ce4462373e62365
tree60e8a78f8531a77448e9f687fb16e2a7330e3f1b
parent65a561fd0919eafff2363ae8324db64be2a57f77
toolchain/gcc: Backport patch to fix unconditional MULTIARCH_DIRNAME

This backports the patch for GCC PR target/89587 (gcc's rs6000
configuration unconditionally sets MULTIARCH_DIRNAME, even when
multiarch is disabled).

This currently affects apm821xx and may cause issues when
cross-compiling packages, e.g. Python 3[1].

This includes patches for GCC 8 (with the changelog diff removed);
this change is already included in GCC 9.2 and 7.5.

[1]: https://github.com/openwrt/packages/issues/10552

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
[Removed patch for GCC 7.4.0, GCC 7.5.0 already contains this]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
toolchain/gcc/patches/8.3.0/090-rs6000-PR-89587.patch [new file with mode: 0644]