From dc8119601daca9ff4af82a6d5196a35ef5bcc3eb Mon Sep 17 00:00:00 2001 From: zijiren233 Date: Thu, 19 Sep 2024 19:16:01 +0800 Subject: [PATCH] fix: abs cc cxx return code --- script/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script/build.sh b/script/build.sh index 3f10049..2913dc3 100755 --- a/script/build.sh +++ b/script/build.sh @@ -392,6 +392,8 @@ function absCCCXX() { read -r cxx_command cxx_options <<<"${CXX}" CXX="$(command -v "${cxx_command}")" || return 2 [[ -n "${cxx_options}" ]] && CXX="${CXX} ${cxx_options}" + + return 0 } # Initializes CGO dependencies for the host platform.