From eb4c23f1075fc54f36a4e45a0df69379859e1583 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 10 Oct 2023 22:12:54 +0000 Subject: [PATCH] try adding gcc suffix support 5 --- _build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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