mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-11-28 08:43:26 +00:00
ea7ed42949
Fixes cross-compiling from macos to linux. see #997 for background. I had to make a couple of extra changes to support this: Setting CMAKE_SYSTEM_NAME manually causes CMAKE_SYSTEM_PROCESSOR to not be set. This breaks some builds that expect this variable to be set like libjpeg-turbo. I made it so that the above variables are only set when cross-compilation is detected so that rules_foreign_cc only takes on responsibility of setting them when necessary. |
||
---|---|---|
.. | ||
boostrap_tools | ||
detect_root_test | ||
dir1/include | ||
dir2/include | ||
expected | ||
standard_cxx_flags_test | ||
BUILD.bazel | ||
cmake_text_tests.bzl | ||
convert_shell_script_test.bzl | ||
shell_script_helper_test_rule.bzl | ||
symlink_contents_to_dir_test_rule.bzl | ||
utils_test.bzl |