Skip to content

Commit

Permalink
toolchain: update aarch64 builtin directories
Browse files Browse the repository at this point in the history
  • Loading branch information
danctorres committed Jan 3, 2025
1 parent c5dd33b commit 0d5f982
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions toolchain/aarch64_linux/cc_toolchain_config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _impl(ctx):
enabled = True,
flag_sets = [
flag_set(
actions = [ACTION_NAMES.assemble, ACTION_NAMES.preprocess_assemble],
actions = all_link_actions + all_compile_actions,
flag_groups = [
flag_group(flags = ["-fPIC"]),
],
Expand Down Expand Up @@ -215,8 +215,6 @@ def _impl(ctx):
"-Wformat=2",
"-Wimplicit-fallthrough",
"-Werror",
"-Wno-c++98-compat",
"-Wno-c++98-compat-pedantic",
],
),
],
Expand All @@ -234,8 +232,6 @@ def _impl(ctx):
flags = [
"-Wall",
"-Wshadow",
"-Wno-c++98-compat",
"-Wno-c++98-compat-pedantic",
],
),
],
Expand All @@ -248,12 +244,10 @@ def _impl(ctx):
ctx = ctx,
features = features,
cxx_builtin_include_directories = [
"/usr/include",
"/usr/aarch64-linux-gnu",
"/usr/lib/aarch64-linux-gnu",
"/usr/lib/gcc-cross/aarch64-linux-gnu",
"/usr/lib/llvm-18/lib/clang/18/include",
"/usr/lib/llvm-18/lib/clang/18/share", # Dir containing `asan_ignorelist.txt`
"/usr/lib/clang/18/include",
"/usr/include",
],
toolchain_identifier = "aarch64_linux-toolchain",
host_system_name = "local",
Expand Down

0 comments on commit 0d5f982

Please sign in to comment.