forked from OSchip/llvm-project
![]() Follow-up to D109708: Using lib_dirs means this will work with ancient gn binaries. Change the toolchain definitions to make lib_dirs have the right effect, and pull out lib_switch of each of the tools while here. This means we now do pass /LIBPATH: to link.exe, but since we invoke it directly and not through clang-cl, this doesn't actually require D109624. And since this is built in to GN, we don't need a config to push the flag to dependents. This is arguably a bit more idiomatic, and it doesn't require folks to update their GN binaries. No effective behavior change. Differential Revision: https://reviews.llvm.org/D109763 |
||
---|---|---|
.. | ||
libs | ||
toolchain | ||
BUILD.gn | ||
BUILDCONFIG.gn | ||
buildflags.gni | ||
fuzzer.gni | ||
mac_sdk.gni | ||
run_tablegen.py | ||
symbol_exports.gni | ||
symbol_exports.py | ||
symlink_or_copy.gni | ||
symlink_or_copy.py | ||
sync_source_lists_from_cmake.py | ||
sysroot.gni | ||
write_cmake_config.gni | ||
write_cmake_config.py | ||
write_library_dependencies.py | ||
write_vcsrevision.gni | ||
write_vcsrevision.py |