mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-17 09:10:08 +02:00
python: fix config.guess for non-x86 arch
* Should fix build on arm, arm64, riscv64, etc
This commit is contained in:
@@ -902,3 +902,35 @@ index b7c6b1b..84bb449 100644
|
||||
--
|
||||
2.42.1
|
||||
|
||||
From 7cc64ef6b93717111109443ef8f51b932f1a33f3 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander von Gluck IV <kallisti5@unixzen.com>
|
||||
Date: Thu, 14 Mar 2024 12:54:33 -0500
|
||||
Subject: [PATCH] config.guess: Update to universal haiku arch guessing
|
||||
|
||||
* Matches upstream config.guess as of 2022, python just
|
||||
ships a really old one
|
||||
---
|
||||
config.guess | 7 +++++--
|
||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/config.guess b/config.guess
|
||||
index e81d3ae..366429c 100755
|
||||
--- a/config.guess
|
||||
+++ b/config.guess
|
||||
@@ -1364,8 +1364,11 @@ EOF
|
||||
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
||||
GUESS=i586-pc-haiku
|
||||
;;
|
||||
- x86_64:Haiku:*:*)
|
||||
- GUESS=x86_64-unknown-haiku
|
||||
+ ppc:Haiku:*:*)
|
||||
+ GUESS=powerpc-apple-haiku
|
||||
+ ;;
|
||||
+ *:Haiku:*:*)
|
||||
+ GUESS=$UNAME_MACHINE-unknown-haiku
|
||||
;;
|
||||
SX-4:SUPER-UX:*:*)
|
||||
GUESS=sx4-nec-superux$UNAME_RELEASE
|
||||
--
|
||||
2.44.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user