]> git.ipfire.org Git - thirdparty/ccache.git/commit
Pass the cpp1 flags more selectively
authorAnders F Björklund <anders.f.bjorklund@gmail.com>
Mon, 26 Jun 2017 20:51:17 +0000 (22:51 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 30 Jan 2018 20:39:24 +0000 (21:39 +0100)
commit148bdc7a4f8b3ec6fbb6c1871652f41df569f0e7
treeefbdf42a053881bb1a19e12e7bfc7fa6254f98df
parentf58741b57ddd6024c765f5d7ef1eb62f3e8030a3
Pass the cpp1 flags more selectively

The -fdirectives-only flag is needed for *both* cpp and cc/c++,
but the -frewrite-includes is only needed for cpp (not cc/c++).

Also make it easier to follow along in the gcc manual by passing
-fpreprocess explicitly, just like we pass the language to clang.
ccache.c