diff options
| author | Jack Nagel | 2014-07-30 20:27:46 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-07-30 20:27:46 -0500 | 
| commit | 393e10849be14528ee1726e5659562a698686c92 (patch) | |
| tree | c96a7992df65c0a217bcae03b86309c183e95fd4 /Library/Homebrew/build.rb | |
| parent | dd331245ab334b2e3fde162b51c3b8b63f065548 (diff) | |
| download | brew-393e10849be14528ee1726e5659562a698686c92.tar.bz2 | |
Pass the build object into the Tab
Since the Tab is written in the build process, the formula's build
object will have the correct args attached to it already, so we don't
need to reconstruct it.
Diffstat (limited to 'Library/Homebrew/build.rb')
| -rw-r--r-- | Library/Homebrew/build.rb | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 509a1e51b..70c943d21 100644 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -186,8 +186,7 @@ class Build            # link against it.            stdlibs = keg.detect_cxx_stdlibs :skip_executables => true -          Tab.create(f, ENV.compiler, stdlibs.first, -            Options.coerce(ARGV.options_only)).write +          Tab.create(f, ENV.compiler, stdlibs.first, f.build).write          rescue Exception => e            if ARGV.debug?              debrew e, f | 
