diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-03 11:49:46 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-03 11:49:46 +0200 |
commit | 13c05ef5a633d3779e4b1b01a0306755e27c2c4b (patch) | |
tree | 04c8cb291940ad3e641bb4add7ece54a7f441493 | |
parent | 614144c0e54302c93965957a68b150d713d95ed5 (diff) |
Add note on GCC options
-rw-r--r-- | build2/cc/compile-rule.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx index bdfa0f0..94e50cd 100644 --- a/build2/cc/compile-rule.cxx +++ b/build2/cc/compile-rule.cxx @@ -4005,6 +4005,8 @@ namespace build2 { if (ctype == compiler_type::gcc) { + // Note that only these two *plus* -x do the trick. + // args.push_back ("-fpreprocessed"); args.push_back ("-fdirectives-only"); } |