diff options
| author | Ryan Hendrickson | 2015-12-09 10:37:49 -0500 |
|---|---|---|
| committer | Baptiste Fontaine | 2015-12-10 11:23:11 +0100 |
| commit | 8ce81af67a8dcbff15ec00d6e0d261000c1822a7 (patch) | |
| tree | 571b81041b5e7b4a4bb1841b94f460d4d22a28cc /Library/Homebrew/extend/ENV/std.rb | |
| parent | d5de719c2b7784fe933d7e804f1593ce1d58a2de (diff) | |
| download | brew-8ce81af67a8dcbff15ec00d6e0d261000c1822a7.tar.bz2 | |
ENV: warn_if_universal_binaries_not_supported
Raise an error when attempting to create universal binaries with a GCC
that can't do so.
Closes Homebrew/homebrew#46630.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
Diffstat (limited to 'Library/Homebrew/extend/ENV/std.rb')
| -rw-r--r-- | Library/Homebrew/extend/ENV/std.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb index 9b150eae0..8bfc5ce57 100644 --- a/Library/Homebrew/extend/ENV/std.rb +++ b/Library/Homebrew/extend/ENV/std.rb @@ -269,6 +269,8 @@ module Stdenv end def universal_binary + check_for_compiler_universal_support + append_to_cflags Hardware::CPU.universal_archs.as_arch_flags append "LDFLAGS", Hardware::CPU.universal_archs.as_arch_flags |
