Skip to content

Commit

Permalink
try adding gcc suffix support 5
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 10, 2023
1 parent 8453d05 commit eb4c23f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb4c23f

Please sign in to comment.