ume, mess: reduce optimization in clang.
Closes Homebrew/homebrew#25536. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
a39668ab38
commit
5ad23ebd6d
2 changed files with 10 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue