build_system_info: Use the host glibc version only
Use the host glibc version only to avoid errors with brew tests --no-compat
This commit is contained in:
parent
11bfba1762
commit
0db0db9516
@ -21,13 +21,7 @@ class DevelopmentTools
|
|||||||
end
|
end
|
||||||
|
|
||||||
def build_system_info
|
def build_system_info
|
||||||
brewed_glibc_version = begin
|
generic_build_system_info.merge "glibc_version" => OS::Linux::Glibc.system_version
|
||||||
Formula["glibc"].any_installed_version
|
|
||||||
rescue FormulaUnavailableError
|
|
||||||
nil
|
|
||||||
end
|
|
||||||
glibc_version = brewed_glibc_version || OS::Linux::Glibc.system_version
|
|
||||||
generic_build_system_info.merge "glibc_version" => glibc_version
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user