semgrep: fix linkage to gcc on Linux

The current bottle ships a semgrep that links against gcc,
which went unnoticed before.
This change makes the linkage explicit.

Closes #90199.

Signed-off-by: Branch Vincent <19800529+branchvincent@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Michka Popoff 2021-11-30 22:55:06 +01:00 committed by BrewTestBot
parent 1997282ff5
commit b3d77e5620
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ class Semgrep < Formula
tag: "v0.75.0",
revision: "d786313c7bfdaac0c53e07cffc6fcb91a1b5c0ee"
license "LGPL-2.1-only"
revision 1
head "https://github.com/returntocorp/semgrep.git", branch: "develop"
livecheck do
@ -36,7 +37,7 @@ class Semgrep < Formula
uses_from_macos "rsync" => :build
on_linux do
depends_on "gcc" => [:build, :test]
depends_on "gcc"
end
fails_with gcc: "5"