From 48af0ac03b8f04c4c95c943b60e7ed7bf4c08c15 Mon Sep 17 00:00:00 2001 From: Daniel Benusovich Date: Wed, 24 Jul 2024 15:04:53 -0700 Subject: [PATCH] Fix cpp stdlib include error. Signed-off-by: Daniel Benusovich --- toolchain/templates/compiler.BUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/templates/compiler.BUILD b/toolchain/templates/compiler.BUILD index d1bf6e8..d9c7396 100644 --- a/toolchain/templates/compiler.BUILD +++ b/toolchain/templates/compiler.BUILD @@ -24,11 +24,11 @@ TOOLS = %tools% filegroup( name = "include_path", srcs = [ + "{}/include/c++/{}".format(PREFIX, VERSION), + "{}/include/c++/{}/{}".format(PREFIX, VERSION, PREFIX), "{}/include".format(PREFIX), "lib/gcc/{}/{}/include".format(PREFIX, VERSION), "lib/gcc/{}/{}/include-fixed".format(PREFIX, VERSION), - "{}/include/c++/{}".format(PREFIX, VERSION), - "{}/include/c++/{}/{}".format(PREFIX, VERSION, PREFIX), ], )