Commit fca83876d8

Andrew Kelley <andrew@ziglang.org>
2019-03-19 01:56:46
workaround for Ubuntu/Debian bug
see #2076
1 parent 8525652
Changed files (1)
src/zig_llvm.cpp
@@ -1034,7 +1034,9 @@ static_assert((Triple::OSType)ZigLLVM_DragonFly == Triple::DragonFly, "");
 static_assert((Triple::OSType)ZigLLVM_FreeBSD == Triple::FreeBSD, "");
 static_assert((Triple::OSType)ZigLLVM_Fuchsia == Triple::Fuchsia, "");
 static_assert((Triple::OSType)ZigLLVM_IOS == Triple::IOS, "");
-static_assert((Triple::OSType)ZigLLVM_KFreeBSD == Triple::KFreeBSD, "");
+// Commented out to work around a Debian/Ubuntu bug.
+// See https://github.com/ziglang/zig/issues/2076
+//static_assert((Triple::OSType)ZigLLVM_KFreeBSD == Triple::KFreeBSD, "");
 static_assert((Triple::OSType)ZigLLVM_Linux == Triple::Linux, "");
 static_assert((Triple::OSType)ZigLLVM_Lv2 == Triple::Lv2, "");
 static_assert((Triple::OSType)ZigLLVM_MacOSX == Triple::MacOSX, "");