Nicholas Riley <com-python-b...@sabi.net> added the comment:

You should be able to invoke the compiler like this:

gcc -nostdinc -I/usr/include -F/System/Library/Frameworks ...

which will remove /usr/local/include (and /Library/Frameworks).  This also 
removes the compiler-specific include dir, so to be fully general you could 
postprocess $CC -v output to just filter /usr/local/include - it looks like the 
Clang driver is GCC-compatible as far as -v output goes.

And in general, I guess this is really an Apple bug...

----------
nosy: +nriley

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7679>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to