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
Carlo Cabrera 2022-10-22 19:28:50 +08:00 committed by BrewTestBot
parent 4a29060243
commit 5a83a8afff
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 1 additions and 0 deletions

View File

@ -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"}