summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2019-03-20 08:47:32 (GMT)
committerPalmer Dabbelt <palmer@sifive.com>2019-03-20 08:47:32 (GMT)
commit7ba609762930089f5ccc05adaa7f31e308f5761a (patch)
tree8a3dbf30fd573bab4b7a0a09e4393a1916fc2cb8
parent89ba62fb1daad737cdb33c3b1ef69092beeaab0b (diff)
riscv64-unknown-linux-gnu: Add C++ Support
We've had very solid support for C++ for quite a while now in RISC-V land, at least in our Linux targets. This patch set enables C++ support by default, which I assume most users will want. Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
-rw-r--r--samples/riscv64-unknown-linux-gnu/crosstool.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/riscv64-unknown-linux-gnu/crosstool.config b/samples/riscv64-unknown-linux-gnu/crosstool.config
index a03f6e8..c12993c 100644
--- a/samples/riscv64-unknown-linux-gnu/crosstool.config
+++ b/samples/riscv64-unknown-linux-gnu/crosstool.config
@@ -5,6 +5,7 @@ CT_ARCH_RISCV=y
CT_ARCH_USE_MMU=y
CT_ARCH_64=y
CT_ARCH_ARCH="rv64gc"
+CT_CC_LANG_CXX=y
CT_KERNEL_LINUX=y
CT_DEBUG_GDB=y
# CT_GDB_CROSS_PYTHON is not set