diff --git a/_build.sh b/_build.sh index 04ebea037..d28c256af 100755 --- a/_build.sh +++ b/_build.sh @@ -1047,7 +1047,10 @@ build_single_target() { _BINCORE_SUFFIX="${_BINUTILS_SUFFIX}" - [ "${_CC}" = 'gcc' ] && _BINUTILS_SUFFIX='' + if [ "${_CC}" = 'gcc' ] && [ -n "${_BINUTILS_SUFFIX}" ]; then + _BINUTILS_PREFIX="${_BINUTILS_PREFIX}gcc-" + _BINUTILS_SUFFIX='' + fi export _STRIP export _STRIPFLAGS_BIN