aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-03-18 20:56:46 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-03-18 20:56:46 -0400
commitfca83876d869d1ceec81a46ce0ebe3d3e291c18a (patch)
tree24f46750c58c8d0c83ba0e08362aacb6ac7fa51b /src/zig_llvm.cpp
parent85256521bad282ccbd22b6f5724753476ab85038 (diff)
downloadzig-fca83876d869d1ceec81a46ce0ebe3d3e291c18a.tar.gz
zig-fca83876d869d1ceec81a46ce0ebe3d3e291c18a.zip
workaround for Ubuntu/Debian bug
see #2076
Diffstat (limited to 'src/zig_llvm.cpp')
-rw-r--r--src/zig_llvm.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/zig_llvm.cpp b/src/zig_llvm.cpp
index 9eee3261f6..93c34f0385 100644
--- a/src/zig_llvm.cpp
+++ b/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, "");