diff options
| author | samueljohn | 2012-08-21 16:38:23 +0200 |
|---|---|---|
| committer | Jack Nagel | 2012-08-23 16:26:28 -0500 |
| commit | ad0dd3d3de9df04cea41dc82626f510397a46a21 (patch) | |
| tree | 0579511b101de3ba93cab73da936e84589857c3e /Library/Homebrew/test | |
| parent | 6400f41a7728de76ba864123f7f46a0b5bcf7ff4 (diff) | |
| download | brew-ad0dd3d3de9df04cea41dc82626f510397a46a21.tar.bz2 | |
Xcode-only: Clean up compiler flags. Use CPATH.
- When using CPATH, we only need -isysroot and not the other -I spam.
- LDFLAGS use -isysroot instead of -L
Turns out that the linker also understands the
-isysroot flag which behaves more natural (in the
sense: "like the internal defaults `/usr/lib` etc.)
than adding `-L$(SDKROOT).
Especially for duplicates, the linker first searches
through all `-L` dirs and then looks at the sysroot
or internal defaults. This is what we want.
- Pkg-config needs CC with CFLAGS passed to configure.
Closes Homebrew/homebrew#14351.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/test')
0 files changed, 0 insertions, 0 deletions
