aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/patchutils.rb
diff options
context:
space:
mode:
authorMax Howell2012-08-31 09:18:05 -0400
committerMax Howell2012-08-31 10:22:10 -0400
commit470c44dfa8636b1600c148dd52acc442bc3e4b80 (patch)
treed8e234629ea026c8f85ba696fd101c3e0e1f09de /Library/Formula/patchutils.rb
parentd4674292f0764f32c544ed1db006a89b6aa8f128 (diff)
downloadhomebrew-470c44dfa8636b1600c148dd52acc442bc3e4b80.tar.bz2
Consider superenv “servile” during configure
superenv defaults to servile mode. In servile mode: * If 'gcc' is called, then 'gcc' is run (we ignore HOMEBREW_CC) * CFLAGS (optimizations) are not applied * ARGV is not mangled (TODO though we should apply fixes) * -I and -L environment is still forcibly inserted. This fixes, eg. jack which was still broken with stdenv. Jack was broken because we set CC in stdenv, and Jack has a stupid build-system. Unsetting CC allowed Jack to find and use the gcc tool it so demanded, but (previously) we would then substitute clang under its nose. The configure still failed. In servile mode (llvm-)gcc is used and Jack compiles. In normal circumstances clang would then be inserted again during the make phase. But Jack uses the niche-wag build tool that we don't support for setting the O HOMEBREW_CCCFG flag that disables servile mode.
Diffstat (limited to 'Library/Formula/patchutils.rb')
0 files changed, 0 insertions, 0 deletions