From acc171673c51b7588dbc2ac1774e645edc68e363 Mon Sep 17 00:00:00 2001 From: Daniel Benusovich Date: Thu, 25 Jul 2024 10:55:33 -0700 Subject: [PATCH] Fix cpp stdlib include error. (#57) 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), ], )