bat: use -fno-stack-check

Closes #46670.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Adam Karim 2019-11-12 10:05:58 -08:00 committed by FX Coudert
parent 11732b1101
commit 323761fadd

View file

@ -17,6 +17,7 @@ class Bat < Formula
def install
ENV["SHELL_COMPLETIONS_DIR"] = buildpath
ENV.append_to_cflags "-fno-stack-check" if DevelopmentTools.clang_build_version >= 1010
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
man1.install "doc/bat.1"
fish_completion.install "assets/completions/bat.fish"