gn build: Fix Windows builds after r357797

llvm-svn: 358004
This commit is contained in:
Nico Weber 2019-04-09 14:02:02 +00:00
parent a230bb5fc0
commit af5834596b
2 changed files with 4 additions and 2 deletions

View File

@ -853,7 +853,7 @@ RuntimeDyldChecker::RuntimeDyldChecker(
MCDisassembler *Disassembler,
MCInstPrinter *InstPrinter,
raw_ostream &ErrStream)
: Impl(llvm::make_unique<RuntimeDyldCheckerImpl>(
: Impl(::llvm::make_unique<RuntimeDyldCheckerImpl>(
std::move(IsSymbolValid),
std::move(GetSymbolAddress),
std::move(GetSymbolContent),

View File

@ -139,7 +139,9 @@ config("compiler_defaults") {
}
config("no_exceptions") {
cflags_cc = [ "-fno-exceptions" ]
if (host_os != "win") {
cflags_cc = [ "-fno-exceptions" ]
}
}
config("no_rtti") {