# HG changeset patch # User Michael Goffioul # Date 1383848125 18000 # Node ID b28756fd131cde0061a405b5541aa3d6c4f08b55 # Parent 55c51f5ec98d7a4bdd04ab253f36f75a11049824 * src/build-msvctools/cc-msvc.cc: Allow to preprocess-only. Make sure to run the compiler, and not the linker, when doing only pre-processing. Required to compile libgpg_error, which pre-processes a header file. diff -r 55c51f5ec98d -r b28756fd131c src/build-msvctools/cc-msvc.cc --- a/src/build-msvctools/cc-msvc.cc Wed Nov 06 15:33:10 2013 -0500 +++ b/src/build-msvctools/cc-msvc.cc Thu Nov 07 13:15:25 2013 -0500 @@ -435,6 +435,12 @@ else if (arg == "-P") { clopt += " -EP"; + exeoutput = false; + } + else if (arg == "-E") + { + clopt += " -E"; + exeoutput = false; } else if (arg == "-ansi") {