From d0f1fa668ce2a943f1613080f8b517decdeab215 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 11 Mar 2017 08:40:34 +0000 Subject: [PATCH] hardware: use march=native for generic module. This matches Linux where this behaviour was original imported from. --- Library/Homebrew/hardware.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/hardware.rb b/Library/Homebrew/hardware.rb index fd5251bf6a..74f656d34d 100644 --- a/Library/Homebrew/hardware.rb +++ b/Library/Homebrew/hardware.rb @@ -12,7 +12,7 @@ module Hardware penryn: "-march=core2 -msse4.1", core2: "-march=core2", core: "-march=prescott", - dunno: "", + dunno: "-march=native", }.freeze def optimization_flags