Skip to content

Commit 5f8eac1

Browse files
rhelmotMic92
authored andcommitted
python3: Enable FreeBSD cross build
This only enables x86_64-unknown-freebsd, not any other FreeBSD, since I do not have any other machines to tests on. If you're reading this, feel free to try out other arches! Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
1 parent e2f7107 commit 5f8eac1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

configure.ac

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,9 @@ then
339339
*-*-wasi)
340340
ac_sys_system=WASI
341341
;;
342+
*-*-freebsd)
343+
ac_sys_system=FreeBSD
344+
;;
342345
*)
343346
# for now, limit cross builds to known configurations
344347
MACHDEP="unknown"
@@ -452,6 +455,9 @@ AC_ARG_ENABLE([universalsdk],
452455
UNIVERSALSDK=
453456
enable_universalsdk=
454457
;;
458+
x86_64-*-freebsd)
459+
_host_cpu=x86_64
460+
;;
455461
*)
456462
UNIVERSALSDK=$enableval
457463
if test ! -d "${UNIVERSALSDK}"

0 commit comments

Comments
 (0)