aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-04-10 01:25:15 -0400
committerAndrew Kelley <andrew@ziglang.org>2020-04-10 01:25:15 -0400
commite857190dab2f1575dc3092f91bfb7fca5583b996 (patch)
tree3d7a195693e79d55dfabc8632a34b6427d09b193 /src/codegen.cpp
parentaaf99371b22e816a4162391d799b9d22bba21120 (diff)
downloadzig-e857190dab2f1575dc3092f91bfb7fca5583b996.tar.gz
zig-e857190dab2f1575dc3092f91bfb7fca5583b996.zip
put the previous commit behind cmake option ZIG_PREFER_CLANG_CPP_DYLIB
Without this, building from source caused: CommandLine Error: Option 'mc-relax-all' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options This is due to LLVM static libs compiled in multiple times. But without the LLVM static libs on the linker line, it caused undefined symbol linker errors. So our hands are tied. Homebrew users will have to specify `-DZIG_PREFER_CLANG_CPP_DYLIB`.
Diffstat (limited to 'src/codegen.cpp')
0 files changed, 0 insertions, 0 deletions