hardware: Add Intel CPUs to OPTIMIZATION_FLAGS

Closes Homebrew/homebrew#29866.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Shaun Jackman 2014-06-04 16:12:20 +02:00 committed by Adam Vandenberg
parent 790657f61f
commit 12b5de391e

View File

@ -1,5 +1,9 @@
module LinuxCPUs 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 def optimization_flags; OPTIMIZATION_FLAGS; end
# Linux supports x86 only, and universal archs do not apply # Linux supports x86 only, and universal archs do not apply