Tune optimisations for sandybridge
This commit is contained in:
parent
c959b37227
commit
0a0187feed
@ -48,7 +48,7 @@ module HomebrewEnvExtension
|
||||
# http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/i386-and-x86_002d64-Options.html
|
||||
if MACOS_VERSION >= 10.6
|
||||
case Hardware.intel_family
|
||||
when :nehalem, :penryn, :core2, :arrandale
|
||||
when :nehalem, :penryn, :core2, :arrandale, :sandybridge
|
||||
# the 64 bit compiler adds -mfpmath=sse for us
|
||||
cflags << "-march=core2"
|
||||
when :core
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user