From 13c05ef5a633d3779e4b1b01a0306755e27c2c4b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 Jun 2019 11:49:46 +0200 Subject: Add note on GCC options --- build2/cc/compile-rule.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build2') 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"); } -- cgit v1.1