aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/build_options.rb
diff options
context:
space:
mode:
authorJack Nagel2014-08-16 01:33:41 -0500
committerJack Nagel2014-08-16 01:39:33 -0500
commite6498f4dfc37524be8d0827957ed75fc471ad345 (patch)
tree73b85c9b3cbd1bf2f68c9dc3863c4be221d093ba /Library/Homebrew/build_options.rb
parentcb7b9945cdd64ba100db4e803ffbb3832ef13186 (diff)
downloadbrew-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.rb4
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.