Skip to content

Commit

Permalink
update to gcc 10
Browse files Browse the repository at this point in the history
  • Loading branch information
ewfuentes committed Mar 12, 2024
1 parent 422150e commit 6cfd90d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aarch64-none-linux-gnu",
urls = [
"https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--glibc--stable-2020.08-1.tar.bz2"
"https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--glibc--bleeding-edge-2020.08-1.tar.bz2"
],
strip_prefix="aarch64--glibc--stable-2020.08-1",
strip_prefix="aarch64--glibc--bleeding-edge-2020.08-1",
build_file="//third_party:BUILD.aarch64-none-linux-gnu",
integrity = "sha256-irei8Xy5ZiGwSKsKhyZQ3WL6pUzXTJYbmQK4wEv/fdE="
sha256 = "212f3c05f3b2263b0e2f902d055aecc2755eba10c0011927788a38faee8fc9aa"
)

http_archive(
Expand Down
10 changes: 5 additions & 5 deletions toolchain/gcc_aarch64_toolchain_config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ def _impl(ctx):
"-isystem",
"external/aarch64-none-linux-gnu/aarch64-buildroot-linux-gnu/include",
"-isystem",
"external/aarch64-none-linux-gnu/aarch64-buildroot-linux-gnu/include/c++/9.3.0",
"external/aarch64-none-linux-gnu/aarch64-buildroot-linux-gnu/include/c++/10.2.0",
"-isystem",
"external/aarch64-none-linux-gnu/aarch64-buildroot-linux-gnu/include/c++/9.3.0/aarch64-buildroot-linux-gnu",
"external/aarch64-none-linux-gnu/aarch64-buildroot-linux-gnu/include/c++/10.2.0/aarch64-buildroot-linux-gnu",
"-isystem",
"external/aarch64-none-linux-gnu/lib/gcc/aarch64-buildroot-linux-gnu/9.3.0/include",
"external/aarch64-none-linux-gnu/lib/gcc/aarch64-buildroot-linux-gnu/10.2.0/include",
"-isystem",
"external/aarch64-none-linux-gnu/lib/gcc/aarch64-buildroot-linux-gnu/9.3.0/include-fixed",
"external/aarch64-none-linux-gnu/lib/gcc/aarch64-buildroot-linux-gnu/10.2.0/include-fixed",
]
)
]
Expand Down Expand Up @@ -135,7 +135,7 @@ def _impl(ctx):
actions = [ACTION_NAMES.c_compile],
flag_groups = [
flag_group(
flags=["-fPIC"],
flags=["-fPIC", "-no-canonical-prefixes", "-fno-canonical-system-headers"],
)
]
)
Expand Down

0 comments on commit 6cfd90d

Please sign in to comment.