formula_installer: change default bottle CxxStdlib
This commit is contained in:
parent
61ca8721fb
commit
8e7fcaab1e
@ -149,13 +149,12 @@ class FormulaInstaller
|
|||||||
end
|
end
|
||||||
|
|
||||||
if pour_bottle?
|
if pour_bottle?
|
||||||
# TODO We currently only support building with libstdc++ as
|
# This assumes that bottles are built with
|
||||||
# the default case, and all Apple libstdc++s are compatible, so
|
# a) the OS's default compiler, and
|
||||||
# this default is sensible.
|
# b) the OS's default C++ stdlib
|
||||||
# In the future we need to actually provide a way to read this from
|
# This is probably accurate, but could possibly stand to be
|
||||||
# the bottle, or update the default should that change
|
# more robust.
|
||||||
# at some other point.
|
stdlib_in_use = CxxStdlib.new(MacOS.default_cxx_stdlib, MacOS.default_compiler)
|
||||||
stdlib_in_use = CxxStdlib.new(:libstdcxx, :clang)
|
|
||||||
stdlib_in_use.check_dependencies(f, f.deps)
|
stdlib_in_use.check_dependencies(f, f.deps)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user