From 42b54150af9b74fc4b14577f4538e663a51731a7 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 10 Nov 2013 18:24:49 -0600 Subject: [PATCH] Pass optimization and arch flags during configure Closes Homebrew/homebrew#24106. --- Library/ENV/4.3/cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index d4410fa685..5baba3de51 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -163,9 +163,9 @@ class Cmd def cflags args = [] - return args unless cccfg? 'O' - - args << '-pipe' << '-w' << '-Os' + args << '-pipe' + args << '-w' unless configure? + args << '-Os' # When bottling use the oldest supported CPU type. if cccfg? 'bc'