-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #318167 from rhelmot/freebsd-python-cross
python3: Enable FreeBSD cross build
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
pkgs/development/interpreters/python/cpython/freebsd-cross.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- a/configure.ac 2024-06-07 09:17:50.608162031 -0700 | ||
+++ b/configure.ac 2024-06-07 09:45:59.844518241 -0700 | ||
@@ -554,6 +554,9 @@ | ||
*-*-wasi) | ||
ac_sys_system=WASI | ||
;; | ||
+ *-*-freebsd) | ||
+ ac_sys_system=FreeBSD | ||
+ ;; | ||
*) | ||
# for now, limit cross builds to known configurations | ||
MACHDEP="unknown" | ||
@@ -614,6 +617,9 @@ | ||
wasm32-*-* | wasm64-*-*) | ||
_host_cpu=$host_cpu | ||
;; | ||
+ x86_64-*-freebsd) | ||
+ _host_cpu=x86_64 | ||
+ ;; | ||
*) | ||
# for now, limit cross builds to known configurations | ||
MACHDEP="unknown" |