mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-07 14:23:19 +00:00
22913c86f1
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!
23 lines
516 B
Diff
23 lines
516 B
Diff
--- 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"
|