Skip to content

Commit

Permalink
silence patched detection
Browse files Browse the repository at this point in the history
  • Loading branch information
haarer committed May 1, 2024
1 parent afe2bcb commit 4278da1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions buildtoolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@


# Tips on windows:
# please use the MSYS shell, not UCRT
#
# to speed up things: chose a location without
# - indexing (dont use windows home dir )
# - virus scanner ( add exclusion, or stop scanner)
Expand Down Expand Up @@ -231,7 +233,7 @@ function download_all_pkg () {
prepare_source ftp://sourceware.org/pub/newlib $NEWLIBVER tar.gz

pushd $ROOTDIR/cross-toolchain/$NEWLIBVER > /dev/null
if ! patch -R -p0 -f -s --dry-run <../../newlib.patch ; then
if ! patch -R -p0 -f -s --dry-run <../../newlib.patch >/dev/null ; then
log_msg "patching newlib to use ssize_t on libgloss read and write functions"
patch -p0 <../../newlib.patch
else
Expand Down Expand Up @@ -338,7 +340,7 @@ log_msg ">>>> build mpc"
MPCFLAGS+=" --prefix=$PREREQPATH/$MPCVER \
--with-mpfr=$PREREQPATH/$MPFRVER \
--with-gmp=$PREREQPATH/$GMPVER\
"
"
conf_compile_source $MPCVER "$PREREQPATH/$MPCVER/lib/libmpc.a" "$MPCFLAGS"


Expand Down

0 comments on commit 4278da1

Please sign in to comment.