linux/linkage_checker: remove gcc from undeclared_deps

This commit is contained in:
Carlo Cabrera 2022-08-10 19:00:59 +08:00
parent fa26b5a06d
commit 478e42d536
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -72,6 +72,9 @@ class LinkageChecker
@unwanted_system_dylibs = @system_dylibs.reject do |s|
SYSTEM_LIBRARY_ALLOWLIST.include? File.basename(s)
end
@undeclared_deps -= [CompilerSelector.preferred_gcc, "glibc"]
# FIXME: Remove this when these dependencies are injected correctly (e.g. through `DependencyCollector`)
# See discussion at
# https://github.com/Homebrew/brew/pull/13577
@undeclared_deps -= [CompilerSelector.preferred_gcc, "glibc", "gcc"]
end
end