diff options
| author | mbcoguno | 2013-12-29 22:09:49 +0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-02 16:52:49 +0000 |
| commit | 71580becb88671d30fa59a293be6957bf59f24af (patch) | |
| tree | e56db57db5b410214d799fd8653a6918b98d5d9d /Library | |
| parent | 48d61a7d732ee5618d14397438787274060d9a03 (diff) | |
| download | homebrew-71580becb88671d30fa59a293be6957bf59f24af.tar.bz2 | |
ume, mess: reduce optimization in clang.
Closes #25536.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mess.rb | 5 | ||||
| -rw-r--r-- | Library/Formula/ume.rb | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/mess.rb b/Library/Formula/mess.rb index 0672c65b8..934174f61 100644 --- a/Library/Formula/mess.rb +++ b/Library/Formula/mess.rb @@ -15,6 +15,11 @@ class Mess < Formula ENV['INCPATH'] = "-I#{MacOS::X11.include}" ENV['PTR64'] = (MacOS.prefer_64_bit? ? '1' : '0') + # Avoid memory allocation runtime error: + # Error: attempt to free untracked memory in (null)(0)! + # Ignoring MAME exception: Error: attempt to free untracked memory + ENV.O2 if ENV.compiler == :clang + system "make", "CC=#{ENV.cc}", "LD=#{ENV.cxx}", "TARGET=mess", "SUBTARGET=mess" diff --git a/Library/Formula/ume.rb b/Library/Formula/ume.rb index a13ddf168..a22dbc0ff 100644 --- a/Library/Formula/ume.rb +++ b/Library/Formula/ume.rb @@ -15,6 +15,11 @@ class Ume < Formula ENV['INCPATH'] = "-I#{MacOS::X11.include}" ENV['PTR64'] = (MacOS.prefer_64_bit? ? '1' : '0') + # Avoid memory allocation runtime error: + # Error: attempt to free untracked memory in (null)(0)! + # Ignoring MAME exception: Error: attempt to free untracked memory + ENV.O2 if ENV.compiler == :clang + system "make", "CC=#{ENV.cc}", "LD=#{ENV.cxx}", "TARGET=ume" if MacOS.prefer_64_bit? |
