Change sysroot flags

This commit is contained in:
Deanna Garcia 2021-11-19 22:56:15 +00:00
parent edc8a31828
commit 8608ee97da
2 changed files with 2 additions and 12 deletions

View File

@ -113,7 +113,7 @@ cc_toolchain_config(
"-I/usr/tools/apple_sdks/xcode_13_0/macosx/usr/include" "-I/usr/tools/apple_sdks/xcode_13_0/macosx/usr/include"
], ],
linker_path = "/usr/tools", linker_path = "/usr/tools",
sysroot = "/usr/tools/apple_sdks/xcode_13_0/macosx/usr/include", sysroot = "/usr/tools/apple_sdks/xcode_13_0/macosx",
target_cpu = "aarch64", target_cpu = "aarch64",
target_full_name = "aarch64-apple-macosx11.3", target_full_name = "aarch64-apple-macosx11.3",
toolchain_dir = "/usr/tools/apple_sdks/xcode_13_0/macosx", toolchain_dir = "/usr/tools/apple_sdks/xcode_13_0/macosx",
@ -129,7 +129,7 @@ cc_toolchain_config(
"-I/usr/tools/apple_sdks/xcode_13_0/macosx/usr/include" "-I/usr/tools/apple_sdks/xcode_13_0/macosx/usr/include"
], ],
linker_path = "/usr/tools", linker_path = "/usr/tools",
sysroot = "/usr/tools/apple_sdks/xcode_13_0/macosx/usr/include", sysroot = "/usr/tools/apple_sdks/xcode_13_0/macosx",
target_cpu = "x86_64", target_cpu = "x86_64",
target_full_name = "x86_64-apple-macosx11.3", target_full_name = "x86_64-apple-macosx11.3",
toolchain_dir = "/usr/tools/apple_sdks/xcode_13_0/macosx", toolchain_dir = "/usr/tools/apple_sdks/xcode_13_0/macosx",

View File

@ -109,16 +109,6 @@ def _impl(ctx):
), ),
], ],
), ),
flag_set(
actions = all_compile_actions,
flag_groups = [
flag_group(
flags = [
"-isysroot" + ctx.attr.sysroot,
],
),
],
),
], ],
) )