From bf58e9adec832608c35119ce7d5334ec750c15d2 Mon Sep 17 00:00:00 2001 From: Peter Kuemmel Date: Fri, 15 Jun 2012 12:47:40 +0200 Subject: Ninja: no /nologo option in old rc.exe --- Source/cmcldeps.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/cmcldeps.cxx b/Source/cmcldeps.cxx index d2c22a2..c177178 100644 --- a/Source/cmcldeps.cxx +++ b/Source/cmcldeps.cxx @@ -683,11 +683,10 @@ int main() { srcfilename = srcfile.substr(pos + 1); } - std::string nol = " /nologo "; std::string show = " /showIncludes "; if (lang == "C" || lang == "CXX") { return process(srcfilename, dfile, objfile, prefix, - binpath + nol + show + rest); + binpath + show + rest); } else if (lang == "RC") { // "misuse" cl.exe to get headers from .rc files @@ -702,7 +701,7 @@ int main() { // extract dependencies with cl.exe process(srcfilename, dfile, objfile, - prefix, cl + nol + show + clrest, true); + prefix, cl + show + clrest, true); // compile rc file with rc.exe return process(srcfilename, "" , objfile, prefix, binpath + nol + rest); -- cgit v0.12