diff options
| author | Jack Nagel | 2014-08-16 01:33:41 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-16 01:39:33 -0500 |
| commit | e6498f4dfc37524be8d0827957ed75fc471ad345 (patch) | |
| tree | 73b85c9b3cbd1bf2f68c9dc3863c4be221d093ba /Library/Homebrew/build_options.rb | |
| parent | cb7b9945cdd64ba100db4e803ffbb3832ef13186 (diff) | |
| download | brew-e6498f4dfc37524be8d0827957ed75fc471ad345.tar.bz2 | |
Remove the universal accessor from BuildOptions
BuildOptions is now immutable (finally).
Diffstat (limited to 'Library/Homebrew/build_options.rb')
| -rw-r--r-- | Library/Homebrew/build_options.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb index 41e5eb14b..d880c76eb 100644 --- a/Library/Homebrew/build_options.rb +++ b/Library/Homebrew/build_options.rb @@ -1,6 +1,4 @@ class BuildOptions - attr_accessor :universal - def initialize(args, options) @args = args @options = options @@ -48,7 +46,7 @@ class BuildOptions # True if the user requested a universal build. def universal? - universal || include?("universal") && option_defined?("universal") + include?("universal") && option_defined?("universal") end # True if the user requested to enable C++11 mode. |
