commit 43b9b7161b1f4d3a86b761d5fda26aab1d4488f1
parent dc8136a5f57deb856986c0137436a1d18c683d7f
Author: Kyle Milz <kyle@0x30.net>
Date: Fri, 19 Aug 2016 13:34:17 -0600
src: commit this now that we have a test case for it
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/inst_frontend.cc b/src/inst_frontend.cc
@@ -142,7 +142,7 @@ InstrumentFrontend::process_cmdline()
cmd_line << arg << " ";
if (std::strcmp(arg, "-E") == 0 ||
- starts_with(arg, "-M")) {
+ std::strcmp(arg, "-MM") == 0) {
*m_log << "Preprocessor argument found\n";
exec_compiler();
}