diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index d85891976b..9eb72f9dc8 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -442,8 +442,8 @@ have_hostcflags_from_gmp() { set_hostcflags_from_gmp() { # Now set CFLAGS to match GMP CFLAGS but strip out -pedantic # as GCC 4.6.x fails if it's there. - export HOSTCFLAGS=$(grep __GMP_CFLAGS $DESTDIR$TARGETDIR/include/gmp.h |cut -d\" -f2 |\ - sed s,-pedantic,,) + export HOSTCFLAGS="$(grep __GMP_CFLAGS $DESTDIR$TARGETDIR/include/gmp.h |cut -d\" -f2 |\ + sed s,-pedantic,,)" } build_GMP() {