aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-07 17:24:40 -0500
committerIan Moffett <ian@osmora.org>2024-03-07 17:24:40 -0500
commita95b38b1b92b172e6cc4e8e56a88a30cc65907b0 (patch)
tree01d641b62a7b519b7dc6fc056a975fed38bae6a0 /tools
parent7895aaff402a021a1b04645ca8d251f760e5662e (diff)
build: cross: Add c++ and lto to enabled languages
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/cross.sh2
1 files changed, 1 insertions, 1 deletions
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..."