summaryrefslogtreecommitdiff
path: root/tools/dep_builders/gcc
diff options
context:
space:
mode:
authordzwdz2023-02-24 22:41:50 +0100
committerdzwdz2023-02-24 22:41:50 +0100
commit5faf16e48457f3ea1dda7af76f9c59b007a054f8 (patch)
tree1ca1e620b778e6d175a7e2fb77792cc0df0d258a /tools/dep_builders/gcc
parentfca80df9e638a7d68147d91cbffda95aed96ab5c (diff)
toolchain: partially set up the sysroot
Diffstat (limited to 'tools/dep_builders/gcc')
-rwxr-xr-xtools/dep_builders/gcc5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/dep_builders/gcc b/tools/dep_builders/gcc
index 302bfdc..f3e72a0 100755
--- a/tools/dep_builders/gcc
+++ b/tools/dep_builders/gcc
@@ -19,9 +19,10 @@ cd $BUILDDIR
../gcc/configure \
--target=x86_64-camellia \
--prefix="$PREFIX" \
- --disable-nls \
- --without-headers \
+ --with-sysroot="$SYSROOT" \
--enable-languages=c,c++ \
+ --disable-nls \
+ --disable-gcov \
--disable-werror
make -j4 all-gcc
make -j4 all-target-libgcc