diff options
| author | Shaun Jackman | 2014-06-04 16:12:20 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2014-06-04 07:26:18 -0700 |
| commit | b09e824fbbd51afae4fa51a30ab12742214824ad (patch) | |
| tree | 1355d23f498070cbee7db6466355588a2dfcbc34 /Library | |
| parent | 867fbf54083661db0393f1fff5eb9d8b632b195e (diff) | |
| download | homebrew-b09e824fbbd51afae4fa51a30ab12742214824ad.tar.bz2 | |
hardware: Add Intel CPUs to OPTIMIZATION_FLAGS
Closes #29866.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/os/linux/hardware.rb | 6 |
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 |
