2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-30 16:42:07 +00:00
rules_foreign_cc/foreign_cc/private
jheaff1 919d65bb06
Convert MSVC flags by replacing slashes with dashes (#731)
* Convert MSVC flags by replacing slashes with dashes

This overcomes bugs in MSYS2 where leading slashes are converted to
paths, e.g. "/nologo" is converted to "C:\msys64\nologo".

This commit would modify the flag to become "-nologo". MSVC supports
both slashes and dashes for flags.

* Update foreign_cc/private/cc_toolchain_util.bzl

Co-authored-by: UebelAndre <github@uebelandre.com>
2021-07-20 16:42:29 +00:00
..
framework Enable more examples tests on windows (#718) 2021-07-14 09:37:35 -07:00
BUILD.bazel Refactored framework to avoid polymorphism complexity (#612) 2021-04-30 17:03:32 +01:00
cc_toolchain_util.bzl Convert MSVC flags by replacing slashes with dashes (#731) 2021-07-20 16:42:29 +00:00
cmake_script.bzl Fix tool_prefix for CMake (#686) 2021-06-16 21:55:02 +00:00
configure_script.bzl Removed legacy *env_vars attributes from cmake and configure_make rule (#675) 2021-06-21 08:24:34 -07:00
detect_root.bzl Addressed buildifier defects (#599) 2021-04-02 01:45:36 +00:00
framework.bzl Added consistent use of expand_locations to all rules. (#722) 2021-07-19 19:44:21 +00:00
make_script.bzl Added support for replacing sandbox paths in build artifacts (#650) 2021-06-15 15:10:08 -07:00
run_shell_file_utils.bzl Added new foreign_cc framework commands: (#628) 2021-04-30 13:26:23 -07:00