diff --git a/danio_gcc.sh b/danio_gcc.sh index 9d911a1..aa6e237 100755 --- a/danio_gcc.sh +++ b/danio_gcc.sh @@ -81,7 +81,7 @@ build() ${TARGET}-gcc -nostdlib -nostartfiles -shared -x c /dev/null -o ${PREFIX}/usr/lib/libc.so || return ${?} rm -rf build-gcc || return ${?} mkdir -pv build-gcc || return ${?} - (cd build-gcc; ../gcc-${gcc_version}/configure --target="${TARGET}" --prefix="${PREFIX}" --enable-languages="c" --with-pkgversion="*DANiO* T00LCHAIN" --without-headers --disable-shared --disable-threads --with-sysroot="${PREFIX}" ${ARGS}) || return ${?} + (cd build-gcc; ../gcc-${gcc_version}/configure --target="${TARGET}" --prefix="${PREFIX}" --enable-languages="c" --with-pkgversion="*DANiO* T00LCHAIN" --with-headers --disable-shared --disable-threads --with-sysroot="${PREFIX}" ${ARGS}) || return ${?} make -C build-gcc -j${nproc} || return ${?} make -C build-gcc -j${nproc} install || return ${?} env CC="${TARGET}-gcc" CXX="${TARGET}-g++" AR="${TARGET}-ar" RANLIB="${TARGET}-ranlib" bash -c '(cd build-glibc; ../glibc-${libc_version}/configure --prefix="${PREFIX}" --host="${TARGET}" --with-headers="${PREFIX}/usr/include" --with-pkgversion="*DANiO* T00LCHAIN" --enable-add-ons --disable-profile --without-gd ${ARGS})' || return ${?}