aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-05-10 16:54:30 -0500
committerJack Nagel2014-05-10 16:54:30 -0500
commit5f94742afb32ec1c8d3ceb2db69f5ea0d3545f5c (patch)
tree0587de25712182364f35fb7a53177beb2ef8dfed /Library/Homebrew
parent98f9b2d4ea6d3550b1fefbf3e3b685f144475348 (diff)
downloadbrew-5f94742afb32ec1c8d3ceb2db69f5ea0d3545f5c.tar.bz2
Ensure HOMEBREW_ARCHFLAGS is always a string
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/ENV/super.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb
index a1e852f27..4b5581078 100644
--- a/Library/Homebrew/extend/ENV/super.rb
+++ b/Library/Homebrew/extend/ENV/super.rb
@@ -76,6 +76,7 @@ module Superenv
self['HOMEBREW_TEMP'] = HOMEBREW_TEMP
self['HOMEBREW_SDKROOT'] = "#{MacOS.sdk_path}" if MacOS::Xcode.without_clt?
self['HOMEBREW_OPTFLAGS'] = determine_optflags
+ self['HOMEBREW_ARCHFLAGS'] = ''
self['CMAKE_PREFIX_PATH'] = determine_cmake_prefix_path
self['CMAKE_FRAMEWORK_PATH'] = determine_cmake_frameworks_path
self['CMAKE_INCLUDE_PATH'] = determine_cmake_include_path
@@ -91,7 +92,6 @@ module Superenv
# compiler flag stripping. It consists of a string of characters which act
# as flags. Some of these flags are mutually exclusive.
#
- # u - A universal build was requested
# 3 - A 32-bit build was requested
# O - Enables argument refurbishing. Only active under the
# make/bsdmake wrappers currently.
@@ -258,7 +258,6 @@ module Superenv
def universal_binary
self['HOMEBREW_ARCHFLAGS'] = Hardware::CPU.universal_archs.as_arch_flags
- append 'HOMEBREW_CCCFG', "u", ''
# GCC doesn't accept "-march" for a 32-bit CPU with "-arch x86_64"
if compiler != :clang && Hardware.is_32_bit?