From a95b38b1b92b172e6cc4e8e56a88a30cc65907b0 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 7 Mar 2024 17:24:40 -0500 Subject: build: cross: Add c++ and lto to enabled languages Signed-off-by: Ian Moffett --- tools/cross.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cross.sh b/tools/cross.sh index 5a0784a..52e7b1b 100644 --- a/tools/cross.sh +++ b/tools/cross.sh @@ -140,7 +140,7 @@ rm -rf $GCC_NAME-copy echo "Configuring $GCC_NAME..." mkdir build-gcc cd build-gcc -../$GCC_NAME/configure --target="$TARGET" --with-sysroot=/ --prefix="$PREFIX" --disable-nls --enable-languages=c --disable-multilib +../$GCC_NAME/configure --target="$TARGET" --with-sysroot=/ --prefix="$PREFIX" --disable-nls --enable-languages=c,c++,lto --disable-multilib echo "Building all-gcc..." $MAKE all-gcc -j"$CORES" echo "Building all-target-libgcc..." -- cgit v1.2.3