Skip to content

Commit f410a5c

Browse files
committed
Fixing MacPort support
1 parent 2bfdd4c commit f410a5c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/001-binutils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if [ "$(uname -s)" = "Darwin" ]; then
4747
## Check if using MacPorts
4848
MACPORT_BASE=$(dirname `port -q contents gmp|grep gmp.h`|sed s#/include##g)
4949
echo Macport base is $MACPORT_BASE
50-
TARG_XTRA_OPTS="--with-system-zlib --with-gmp=$MACPORT_BASE --with-mpfr=$MACPORT_BASE"
50+
TARG_XTRA_OPTS="--with-system-zlib --with-libiconv_prefix=$MACPORT_BASE --with-gmp=$MACPORT_BASE --with-mpfr=$MACPORT_BASE --with-mpc=$MACPORT_BASE"
5151
fi
5252
fi
5353

scripts/002-gcc-stage1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if [ "$(uname -s)" = "Darwin" ]; then
4848
## Check if using MacPorts
4949
MACPORT_BASE=$(dirname `port -q contents gmp|grep gmp.h`|sed s#/include##g)
5050
echo Macport base is $MACPORT_BASE
51-
TARG_XTRA_OPTS="--with-system-zlib --with-gmp=$MACPORT_BASE --with-mpfr=$MACPORT_BASE --with-mpc=$MACPORT_BASE"
51+
TARG_XTRA_OPTS="--with-system-zlib --with-libiconv_prefix=$MACPORT_BASE --with-gmp=$MACPORT_BASE --with-mpfr=$MACPORT_BASE --with-mpc=$MACPORT_BASE"
5252
fi
5353
fi
5454

0 commit comments

Comments
 (0)