aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/linux/hardware.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/os/linux/hardware.rb b/Library/Homebrew/os/linux/hardware.rb
index 4e84d31b1..d30ea7968 100644
--- a/Library/Homebrew/os/linux/hardware.rb
+++ b/Library/Homebrew/os/linux/hardware.rb
@@ -1,5 +1,9 @@
module LinuxCPUs
- OPTIMIZATION_FLAGS = {}.freeze
+ OPTIMIZATION_FLAGS = {
+ :penryn => '-march=core2 -msse4.1',
+ :core2 => '-march=core2',
+ :core => '-march=prescott',
+ }.freeze
def optimization_flags; OPTIMIZATION_FLAGS; end
# Linux supports x86 only, and universal archs do not apply