Skip to content

Commit

Permalink
toolchain: activate threading support in newlib and libgcc
Browse files Browse the repository at this point in the history
  • Loading branch information
rasky committed Sep 1, 2024
1 parent 9ad46e5 commit 83dadfd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/build-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ pushd gcc_compile_target
--disable-shared \
--with-gcc \
--with-newlib \
--disable-threads \
--disable-win32-registry \
--disable-nls \
--disable-werror
Expand All @@ -228,9 +227,10 @@ CFLAGS_FOR_TARGET="-DHAVE_ASSERT_FUNC -O2 -fpermissive" ../"newlib-$NEWLIB_V"/co
--prefix="$CROSS_PREFIX" \
--target="$N64_TARGET" \
--with-cpu=mips64vr4300 \
--disable-threads \
--disable-libssp \
--disable-werror
--disable-werror \
--enable-newlib-multithread \
--enable-newlib-retargetable-locking
make -j "$JOBS"
make install || sudo env PATH="$PATH" make install || su -c "env PATH=\"$PATH\" make install"
popd
Expand Down Expand Up @@ -280,7 +280,6 @@ else
--with-gcc \
--disable-libssp \
--disable-shared \
--disable-threads \
--disable-win32-registry \
--disable-nls
make all-target-libgcc -j "$JOBS"
Expand All @@ -294,9 +293,10 @@ else
--prefix="$INSTALL_PATH" \
--target="$N64_TARGET" \
--with-cpu=mips64vr4300 \
--disable-threads \
--disable-libssp \
--disable-werror
--disable-werror \
--enable-newlib-multithread \
--enable-newlib-retargetable-locking
make -j "$JOBS"
make install || sudo env PATH="$PATH" make install || su -c "env PATH=\"$PATH\" make install"
popd
Expand Down

0 comments on commit 83dadfd

Please sign in to comment.