Skip to content

Commit

Permalink
Merge pull request #11026 from avagin:crosstool-gcc-cross
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 685034217
  • Loading branch information
gvisor-bot committed Oct 12, 2024
2 parents 8890371 + 14a9d75 commit 72846ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/crosstool-arm-dirs.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ diff --git a/cc_toolchain_config.bzl.tpl b/cc_toolchain_config.bzl.tpl
index e864fa2..3de0405 100644
--- a/cc_toolchain_config.bzl.tpl
+++ b/cc_toolchain_config.bzl.tpl
@@ -76,6 +76,7 @@ CXX_BUILTIN_INCLUDE_DIRECTORIES = {
@@ -76,6 +76,8 @@ CXX_BUILTIN_INCLUDE_DIRECTORIES = {
"/usr/lib/gcc/x86_64-linux-gnu/%d/include-fixed" % GCC_VERSION,
"/usr/include/x86_64-linux-gnu",
"/usr/include",
+ "/usr/x86_64-linux-gnu/include/",
+ "/usr/lib/gcc-cross/x86_64-linux-gnu/%d/include/" % GCC_VERSION,
],
"armv7a": [
"/usr/arm-linux-gnueabihf/include/c++/%d" % GCC_VERSION,
Expand Down

0 comments on commit 72846ff

Please sign in to comment.