build: remove hardcoded glibc, I don't think this error is happening

This commit is contained in:
Mitchell Hashimoto
2023-08-13 11:57:43 -07:00
parent 2df7789f3e
commit b18e7393e1

View File

@ -61,11 +61,6 @@ pub fn build(b: *std.Build) !void {
const target = target: { const target = target: {
var result = b.standardTargetOptions(.{}); var result = b.standardTargetOptions(.{});
if (result.isLinux() and result.isGnuLibC()) {
// https://github.com/ziglang/zig/issues/9485
result.glibc_version = .{ .major = 2, .minor = 28, .patch = 0 };
}
if (result.isDarwin()) { if (result.isDarwin()) {
if (result.os_version_min == null) { if (result.os_version_min == null) {
result.os_version_min = .{ .semver = .{ .major = 12, .minor = 0, .patch = 0 } }; result.os_version_min = .{ .semver = .{ .major = 12, .minor = 0, .patch = 0 } };