From b1e60f9c76c88d694b5bea299515a412d23fc790 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 8 Jan 2019 19:14:29 +0000 Subject: [PATCH] hardware: no special penryn CFLAGS. These are the same as `core2` (at least for `gcc`). Fixes #5502. --- Library/Homebrew/extend/os/mac/hardware.rb | 2 -- Library/Homebrew/hardware.rb | 1 - 2 files changed, 3 deletions(-) diff --git a/Library/Homebrew/extend/os/mac/hardware.rb b/Library/Homebrew/extend/os/mac/hardware.rb index d5765f6d62..975e308d4a 100644 --- a/Library/Homebrew/extend/os/mac/hardware.rb +++ b/Library/Homebrew/extend/os/mac/hardware.rb @@ -2,8 +2,6 @@ module Hardware def self.oldest_cpu if MacOS.version >= :mojave :nehalem - elsif MacOS.version >= :sierra - :penryn else generic_oldest_cpu end diff --git a/Library/Homebrew/hardware.rb b/Library/Homebrew/hardware.rb index 311545f18c..b713eab160 100644 --- a/Library/Homebrew/hardware.rb +++ b/Library/Homebrew/hardware.rb @@ -8,7 +8,6 @@ module Hardware class << self OPTIMIZATION_FLAGS = { nehalem: "-march=nehalem", - penryn: "-march=penryn", core2: "-march=core2", core: "-march=prescott", armv6: "-march=armv6",