diff options
| author | Max Howell | 2009-09-02 14:15:44 +0100 |
|---|---|---|
| committer | Max Howell | 2009-09-02 15:07:18 +0100 |
| commit | fbda4b45d6a55ff192a0fab46eb5f352130404ed (patch) | |
| tree | a40e6869c09d28a16215bd94b8df3a57944ea66f /bin | |
| parent | f6743bbfd797cdc1904a2ecd3ae3def28d10b081 (diff) | |
| download | brew-fbda4b45d6a55ff192a0fab46eb5f352130404ed.tar.bz2 | |
Build optimisations for 64 bit Snow Leopard
Specifying -v/--verbose shows the build environment before the build
MACOS_VERSION contains the floating point value of the OS X version
A test for some floating point assumptions I make
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -72,7 +72,15 @@ begin (HOMEBREW_PREFIX+'Library'+'Formula').children.each {|f| puts f.basename('.rb') } exit 0 end - + + if ARGV.verbose? + require 'brewkit' + ohai "Build Environment" + %w[CFLAGS LDFLAGS CPPFLAGS MAKEFLAGS CC CXX].each do |f| + puts "#{f}: #{ENV[f]}" unless ENV[f].to_s.empty? + end + end + # we need to ensure a pristine ENV for each process or the formula # will start with the ENV from the previous build ARGV.formulae.each do |f| |
