mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +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
@ -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…
x
Reference in New Issue
Block a user