z3: add upstream reference for workaround
Closes #113771. Signed-off-by: Bo Anderson <mail@boanderson.me> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
4a29060243
commit
5a83a8afff
|
@ -36,6 +36,7 @@ class Z3 < Formula
|
|||
|
||||
def install
|
||||
# LTO on Intel Monterey produces segfaults.
|
||||
# https://github.com/Z3Prover/z3/issues/6414
|
||||
do_lto = MacOS.version != :monterey || Hardware::CPU.arm?
|
||||
args = %W[
|
||||
-DZ3_LINK_TIME_OPTIMIZATION=#{do_lto ? "ON" : "OFF"}
|
||||
|
|
Loading…
Reference in New Issue