gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/tools/crosstool-arm-dirs.patch (about)

     1  diff --git a/cc_toolchain_config.bzl.tpl b/cc_toolchain_config.bzl.tpl
     2  index e864fa2..3de0405 100644
     3  --- a/cc_toolchain_config.bzl.tpl
     4  +++ b/cc_toolchain_config.bzl.tpl
     5  @@ -76,6 +76,7 @@ CXX_BUILTIN_INCLUDE_DIRECTORIES = {
     6           "/usr/lib/gcc/x86_64-linux-gnu/%d/include-fixed" % GCC_VERSION,
     7           "/usr/include/x86_64-linux-gnu",
     8           "/usr/include",
     9  +        "/usr/x86_64-linux-gnu/include/",
    10       ],
    11       "armv7a": [
    12           "/usr/arm-linux-gnueabihf/include/c++/%d" % GCC_VERSION,
    13  @@ -100,6 +101,7 @@ CXX_BUILTIN_INCLUDE_DIRECTORIES = {
    14           "/usr/aarch64-linux-gnu/include/c++/%d" % GCC_VERSION,
    15           "/usr/aarch64-linux-gnu/include/c++/%d/aarch64-linux-gnu" % GCC_VERSION,
    16           "/usr/aarch64-linux-gnu/include/c++/%d/backward" % GCC_VERSION,
    17  +        "/usr/lib/gcc/aarch64-linux-gnu/%d/include" % GCC_VERSION,
    18           "/usr/lib/gcc-cross/aarch64-linux-gnu/%d/include" % GCC_VERSION,
    19           "/usr/lib/gcc-cross/aarch64-linux-gnu/%d/include-fixed" % GCC_VERSION,
    20           "/usr/aarch64-linux-gnu/include",