diff options
| author | Jack Nagel | 2014-05-19 14:18:23 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-19 14:41:02 -0500 |
| commit | 613292e3ce1d5f28564fbc872eda82ad997e0568 (patch) | |
| tree | 39f33693129dfdd7e0de029239788278900b686c /Library/Homebrew/cmd | |
| parent | 10bd849bd3ba35b04f67b904d6bc629da1afe9a0 (diff) | |
| download | brew-613292e3ce1d5f28564fbc872eda82ad997e0568.tar.bz2 | |
Reorganize superenv include and library path setup
I found the dual use of CMAKE_*_PATH variables to make it difficult to
reason about this code. Now a separate set of variables are used to
communicate with the cc wrapper, and less work is performed in the
wrapper itself.
We no longer pass the SDK include path as a -isystem directory on
Xcode-only setups. Doing so is redundant with `--sysroot` and has other
side effects, namely changing the include path search order, which can
break compilation of some software (e.g. qemu).
On Xcode-only 10.9, we can additionally omit `--sysroot`, as the correct
paths are built into the tools.
A new variable, HOMEBREW_SYSROOT, is used to this information to the
wrapper. It will be unset on Xcode-only 10.9. HOMEBREW_SDKROOT will
continue to be set, as it is used for other things besides setting the
include search path.
Diffstat (limited to 'Library/Homebrew/cmd')
0 files changed, 0 insertions, 0 deletions
