Mercurial > mxe-octave
comparison src/build-msvctools/cc-msvc.cc @ 3289:b28756fd131c
* 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.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Thu, 07 Nov 2013 13:15:25 -0500 |
parents | e0257da7fcdc |
children | 8480924d2b85 |
comparison
equal
deleted
inserted
replaced
3288:55c51f5ec98d | 3289:b28756fd131c |
---|---|
433 } | 433 } |
434 } | 434 } |
435 else if (arg == "-P") | 435 else if (arg == "-P") |
436 { | 436 { |
437 clopt += " -EP"; | 437 clopt += " -EP"; |
438 exeoutput = false; | |
439 } | |
440 else if (arg == "-E") | |
441 { | |
442 clopt += " -E"; | |
443 exeoutput = false; | |
438 } | 444 } |
439 else if (arg == "-ansi") | 445 else if (arg == "-ansi") |
440 { | 446 { |
441 clopt += " -Za"; | 447 clopt += " -Za"; |
442 } | 448 } |