summaryrefslogtreecommitdiff
path: root/tools/dep_builders
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dep_builders')
-rwxr-xr-xtools/dep_builders/binutils2
-rwxr-xr-xtools/dep_builders/gcc10
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/dep_builders/binutils b/tools/dep_builders/binutils
index 210c13b..cd88f5c 100755
--- a/tools/dep_builders/binutils
+++ b/tools/dep_builders/binutils
@@ -11,7 +11,7 @@ HASHES
export PREFIX="$(pwd)/toolchain/"
export CACHE="$(pwd)/toolchain/cache/"
export PATH="$(pwd)/toolchain/bin/:$PATH"
-export TARGET=i686-elf
+export TARGET=x86_64-elf
# ensure that we're in the repo root
diff --git a/tools/dep_builders/gcc b/tools/dep_builders/gcc
index 4c32b53..6813abe 100755
--- a/tools/dep_builders/gcc
+++ b/tools/dep_builders/gcc
@@ -11,7 +11,7 @@ HASHES
export PREFIX="$(pwd)/toolchain/"
export CACHE="$(pwd)/toolchain/cache/"
export PATH="$(pwd)/toolchain/bin/:$PATH"
-export TARGET=i686-elf
+export TARGET=x86_64-elf
# ensure that we're in the repo root
@@ -48,7 +48,7 @@ mkdir $CACHE/$TOOL-$VER/builddir
cd $CACHE/$TOOL-$VER/builddir
../configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c --without-headers
-make all-gcc
-make all-target-libgcc
-make install-gcc
-make install-target-libgcc
+make -j4 all-gcc
+make -j4 all-target-libgcc
+make -j4 install-gcc
+make -j4 install-target-libgcc