diff options
| author | samueljohn | 2012-08-21 16:38:23 +0200 |
|---|---|---|
| committer | Jack Nagel | 2012-08-23 16:26:28 -0500 |
| commit | 17469d7ad648754462ee3348bae1e496c831a52f (patch) | |
| tree | 251b4e5dfd419bf83cbfbafe7333226d16ea977e /Library/Formula/jython.rb | |
| parent | 0afd719bc9dd2045050ccf6c1abc78a3f2cd06f2 (diff) | |
| download | homebrew-17469d7ad648754462ee3348bae1e496c831a52f.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 #14351.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/jython.rb')
0 files changed, 0 insertions, 0 deletions
