python3: Fix/expand platform triplet detection
authorJeffery To <redacted>
Tue, 11 Jul 2023 07:48:19 +0000 (15:48 +0800)
committerJeffery To <redacted>
Thu, 24 Aug 2023 18:19:53 +0000 (02:19 +0800)
commit5a0055df0621d4347723993b04a2fcf045929acf
tree0827a1fd00ce4c7da5e9935d76fff63dc27ca84d
parentb595362b8567521b9bdf003dcc88f9b962c22b10
python3: Fix/expand platform triplet detection

Currently, configure does not find the correct platform triplet for musl
as the default build/host values passed by OpenWrt buildroot does not
contain the text "linux-musl".

This backports
https://github.com/python/cpython/commit/c163d7f0b67a568e9b64eeb9c1cbbaa127818596
to add detection for mips soft float and musl.

Signed-off-by: Jeffery To <redacted>
lang/python/python3/Makefile
lang/python/python3/patches/100-gh-95855-Refactor-platform-triplet-detection-code-GH-107221.patch [new file with mode: 0644]
lang/python/python3/patches/131-configure_ac-switch-PLATFORM_TRIPLET-suffix-to-musl.patch [deleted file]
git clone https://git.99rst.org/PROJECT