Finally fix LLVM 3.1 compilation.

This commit is contained in:
David Nadlinger 2013-10-06 19:26:58 +02:00
parent 445b743ba5
commit aba1b82539

View file

@ -319,8 +319,8 @@ llvm::TargetMachine* createTargetMachine(
if (Logger::enabled()) if (Logger::enabled())
{ {
Logger::cout() << "Targeting '" << triple.str() << "' (CPU '" << cpu Logger::println("Targeting '%s' (CPU '%s' with features '%s')",
<< "' with features '" << features.getString() << "').\n"; triple.str().c_str(), cpu.c_str(), features.getString().c_str());
} }
if (triple.isMacOSX() && relocModel == llvm::Reloc::Default) if (triple.isMacOSX() && relocModel == llvm::Reloc::Default)