From 433bb64c7b1894ab8284b83ec1b48eeeca563704 Mon Sep 17 00:00:00 2001 From: Krzosa Karol Date: Tue, 1 Apr 2025 10:37:56 +0200 Subject: [PATCH] CI linux: && git push --- build.sh | 2 +- src/meta/build_tool.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 240343a..b2af00d 100644 --- a/build.sh +++ b/build.sh @@ -5,4 +5,4 @@ echo "clang ../src/meta/build_tool.c -ldl -o build_tool.exe -g -fdiagnostics-abs clang ../src/meta/build_tool.c -ldl -o build_tool.exe -g -fdiagnostics-absolute-paths -Wno-single-bit-bitfield-constant-conversion popd -./build/build_tool.exe -cc=clang \ No newline at end of file +./build/build_tool.exe --compiler=clang \ No newline at end of file diff --git a/src/meta/build_tool.c b/src/meta/build_tool.c index be0a928..dfec2ab 100644 --- a/src/meta/build_tool.c +++ b/src/meta/build_tool.c @@ -5123,7 +5123,7 @@ int main(int argument_count, char **arguments) { S8_List list = {0}; for (int i = 1; i < argument_count; i += 1) { S8_String it = S8_MakeFromChar(arguments[i]); - if (S8_StartsWith(it, S8_Lit("cc="), false)) cc = S8_Skip(it, 3); + if (S8_StartsWith(it, S8_Lit("--compiler="), false)) cc = S8_Skip(it, 3); S8_AddNode(&Perm, &list, it); } IO_Printf("compiler=%.*s\n", S8_Expand(cc));