[cfe-dev] clang++ include path problem
richard at metafoo.co.uk
Mon May 13 14:48:06 PDT 2013
On Thu, May 9, 2013 at 3:43 AM, Gábor Kozár <kozargabor at gmail.com> wrote:
> I'm using clang++ -### to get the -cc1 command I can add my own -cc1
> options to. Unfortunately, the command I'm getting contains wrong include
> I have CPPFLAGS and LDFLAGS all set with the correct include paths. Which
> variable do I need to set for this to work correctly?
You need to pass your CPPFLAGS to clang yourself:
clang++ $CPPFLAGS ...
The passing of $CPPFLAGS to the preprocessor is typically performed by the
build system (eg make), not by the compiler itself. See
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev