mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
Add FreeBSD to bootstrap.c to make building from source easier in FreeBSD 14
This commit is contained in:
parent
cd7960ea75
commit
f36ac227b1
1 changed files with 2 additions and 0 deletions
|
|
@ -60,6 +60,8 @@ static const char *get_host_os(void) {
|
||||||
return "macos";
|
return "macos";
|
||||||
#elif defined(__linux__)
|
#elif defined(__linux__)
|
||||||
return "linux";
|
return "linux";
|
||||||
|
#elif defined(__FreeBSD__)
|
||||||
|
return "freebsd";
|
||||||
#else
|
#else
|
||||||
#error TODO implement get_host_os in this build script for this target
|
#error TODO implement get_host_os in this build script for this target
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue