aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac/hardware.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/os/mac/hardware.rb')
-rw-r--r--Library/Homebrew/os/mac/hardware.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/os/mac/hardware.rb b/Library/Homebrew/os/mac/hardware.rb
index c5e803261..a4c54b0d8 100644
--- a/Library/Homebrew/os/mac/hardware.rb
+++ b/Library/Homebrew/os/mac/hardware.rb
@@ -7,8 +7,8 @@ module MacCPUs
:g4 => '-mcpu=7400',
:g4e => '-mcpu=7450',
:g5 => '-mcpu=970'
- }
- def optimization_flags; OPTIMIZATION_FLAGS.dup; end
+ }.freeze
+ def optimization_flags; OPTIMIZATION_FLAGS; end
# These methods use info spewed out by sysctl.
# Look in <mach/machine.h> for decoding info.