summaryrefslogtreecommitdiff
path: root/contrib/dep_builders/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/dep_builders/binutils')
-rwxr-xr-xcontrib/dep_builders/binutils5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/dep_builders/binutils b/contrib/dep_builders/binutils
index 42dd04b..7746525 100755
--- a/contrib/dep_builders/binutils
+++ b/contrib/dep_builders/binutils
@@ -10,9 +10,10 @@ fi
export PREFIX="$(pwd)/toolchain/prefix/"
export PATH="$(pwd)/toolchain/prefix/bin/:$PATH"
BUILDDIR="$(pwd)/toolchain/binutils-build/"
-SYSROOT="$(pwd)/sysroot/"
+SYSROOT="$(pwd)/out/sysrootu/"
mkdir -p $PREFIX
mkdir -p $BUILDDIR
+make out/sysrootu/usr/include/
cd $BUILDDIR
@@ -23,5 +24,5 @@ cd $BUILDDIR
--disable-nls \
--disable-werror
mkdir -p gas/doc/ # stupid workaround for the broken build
-make -j4
+make
make install