diff options
| author | Shaun Jackman | 2014-06-04 16:12:20 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2014-06-04 07:26:18 -0700 |
| commit | 12b5de391ed51c433a402a55afa7675d3ad823d6 (patch) | |
| tree | 64d71dd57e230971237df31008e0480817e4622f /Library | |
| parent | 790657f61f39f7f1c130545d4237401b51696a16 (diff) | |
| download | brew-12b5de391ed51c433a402a55afa7675d3ad823d6.tar.bz2 | |
hardware: Add Intel CPUs to OPTIMIZATION_FLAGS
Closes Homebrew/homebrew#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 |
