19 Commits

Author SHA1 Message Date
ilovezfs
2c43649ffc superenv: prune -Wl,-z,defs when refurbishing
`-Wl,-z,defs` should be pruned out entirely since `-z defs` is not
understood by macOS's `ld`, and the analogue `-undefined error` is
already the default.
2016-11-02 01:21:15 -07:00
Mike McQuaid
be2e6df948 scm/git: more old OS X versions tweaks.
- unset IFS to fix version parsing on older Bashes
- reuse existing HOMEBREW_MACOS_VERSION if it’s available
- set rather than unset popup_stub
2016-10-16 16:11:41 +01:00
Mike McQuaid
7292ad1f1a shims/scm/git: fix on old OS X versions.
On older versions of OS X (i.e. pre-Mavericks) `xcode-select` is not
required to be set when using the CLT. Fix this behaviour so `brew
update` doesn't tell everyone on that configuration to `brew install
git`.
2016-10-16 14:14:23 +01:00
Mike McQuaid
3f9cce0a03 Use new "macOS" naming where appropriate.
Not quite a mass replacement as I've used OS X and Mac OS X where
describing specific older versions and added compatibility methods
for things in the DSL.
2016-09-18 19:57:19 +01:00
Tim D. Smith
d39eeac0d5 Merge pull request #845 from tdsmith/usr-local-sdkroot
Don't reject -L/usr/local/lib when SDKROOT is defined

Closes #844. Fixes Homebrew/homebrew-fuse#62.
2016-09-02 17:55:37 -07:00
Tim D. Smith
8f068fdbca Don't reject -L/usr/local/lib when SDKROOT is defined
/usr/local/lib is removed from the default linker search path when
SDKROOT is defined or sysroot is specified.

Homebrew sometimes sets SDKROOT without setting a sysroot as of 45e138f.
2016-08-31 22:38:18 -07:00
Mike McQuaid
408ac6088f scm/git: make --homebrew=print-path absolute.
This ensures that the output is always a fully-resolved path.
2016-08-25 11:12:22 +01:00
Mike McQuaid
6878577d12 Merge pull request #721 from MikeMcQuaid/no_weak_imports
Set -no_weak_imports linker flag for Xcode 8
2016-08-17 12:22:28 +01:00
Mike McQuaid
ee6c43ebee shims/super/cc: assume Ruby 2. 2016-08-17 09:19:56 +01:00
Mike McQuaid
5609183567 superenv: add LDFLAGS if disabling weak imports. 2016-08-16 15:26:28 +01:00
Martin Afanasjew
2a943d0ad2 shims/sed: fix style inconsistencies 2016-08-08 16:00:12 +02:00
Martin Afanasjew
85c0b594ad shims/pod2man: fix style inconsistencies 2016-08-08 16:00:12 +02:00
Martin Afanasjew
8e180a85b8 shims/mig: fix style inconsistencies 2016-08-08 16:00:12 +02:00
Martin Afanasjew
10af1866af shims/make: fix style inconsistencies 2016-08-08 16:00:12 +02:00
Martin Afanasjew
672dc1bae2 shims/bsdmake: fix style inconsistencies 2016-08-08 16:00:12 +02:00
Martin Afanasjew
faf4bc819c shims/apr-1-config: fix style inconsistencies 2016-08-08 16:00:12 +02:00
Martin Afanasjew
4a7fc07430 shims/ant: fix style inconsistencies 2016-08-08 16:00:12 +02:00
Martin Afanasjew
3d862ef5e2 cmd/vendor-install.sh: fix style inconsistencies 2016-08-08 16:00:12 +02:00
Mike McQuaid
a02be9eea2 ENV: move to new paths. (#507)
Move some stuff formerly in `Library/ENV` around:
- Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are
  all superenv wrappers and all symlinks to the same version. We never needed
  the "separate shims for separate versions" functionality and it just adds
  confusion.
- Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more
  things under `Library/Homebrew`
- Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually
  used by or related to superenv (or stdenv) in any way.
2016-07-15 19:03:45 +01:00