From b9e2ff0fb7713719d5691168732396cf218b32bf Mon Sep 17 00:00:00 2001 From: nakst <> Date: Tue, 14 Dec 2021 13:14:40 +0000 Subject: [PATCH] set compiler path in setup-pre-built-toolchain --- util/build.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/build.c b/util/build.c index 5dd673f..c8d4aa0 100644 --- a/util/build.c +++ b/util/build.c @@ -1581,6 +1581,9 @@ void DoCommand(const char *l) { MAKE_TOOLCHAIN_WRAPPER("ld"); MAKE_TOOLCHAIN_WRAPPER("nm"); MAKE_TOOLCHAIN_WRAPPER("strip"); + foundValidCrossCompiler = true; + getcwd(compilerPath, sizeof(compilerPath) - 64); + strcat(compilerPath, "/cross/bin2"); SaveConfig(); } else if (0 == strcmp(l, "help") || 0 == strcmp(l, "h") || 0 == strcmp(l, "?")) { printf(ColorHighlight "\n=== Common Commands ===\n" ColorNormal);