summaryrefslogtreecommitdiff
path: root/tools/dep_builders/gcc
diff options
context:
space:
mode:
authordzwdz2022-07-16 13:33:00 +0200
committerdzwdz2022-07-16 13:33:00 +0200
commit912d2e3c7eb1baa71dda2c0a28aa5809eaa96f27 (patch)
tree4e27f3538466d5fd63a311d50916039a7a15a485 /tools/dep_builders/gcc
parent1eeb66af44ab335888410d716d604e569f20866e (diff)
amd64: barely boot into kernel code
Diffstat (limited to 'tools/dep_builders/gcc')
-rwxr-xr-xtools/dep_builders/gcc10
1 files changed, 5 insertions, 5 deletions
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