aboutsummaryrefslogtreecommitdiff
path: root/samples/riscv64-unknown-linux-gnu
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2019-03-20 01:47:32 -0700
committerPalmer Dabbelt <palmer@sifive.com>2019-03-20 01:47:32 -0700
commit7ba609762930089f5ccc05adaa7f31e308f5761a (patch)
tree8a3dbf30fd573bab4b7a0a09e4393a1916fc2cb8 /samples/riscv64-unknown-linux-gnu
parent89ba62fb1daad737cdb33c3b1ef69092beeaab0b (diff)
downloadcrosstool-ng-7ba609762930089f5ccc05adaa7f31e308f5761a.tar.gz
crosstool-ng-7ba609762930089f5ccc05adaa7f31e308f5761a.tar.bz2
crosstool-ng-7ba609762930089f5ccc05adaa7f31e308f5761a.zip
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>
Diffstat (limited to 'samples/riscv64-unknown-linux-gnu')
-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 a03f6e88..c12993c2 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