We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b65b326 commit 3ad829aCopy full SHA for 3ad829a
scripts/001-binutils.sh
@@ -44,8 +44,8 @@ if [ "$(uname -s)" = "Darwin" ]; then
44
TARG_XTRA_OPTS="--with-system-zlib --with-gmp=$(brew --prefix gmp) --with-mpfr=$(brew --prefix mpfr)"
45
elif command -v port &> /dev/null; then
46
## Check if using MacPorts
47
- MACPORT_BASE=$(dirname `port -q contents gmp|grep gmp.h`|sed s#/include##g)
48
- echo Macport base is $MACPORT_BASE
+ MACPORT_BASE=$(dirname $(port -q contents gmp|grep gmp.h)|sed s#/include##g)
+ printf 'Macport base is %s\n' "$MACPORT_BASE"
49
TARG_XTRA_OPTS="--with-system-zlib --with-libiconv_prefix=$MACPORT_BASE --with-gmp=$MACPORT_BASE --with-mpfr=$MACPORT_BASE --with-mpc=$MACPORT_BASE"
50
fi
51
0 commit comments