CI linux: && git push
This commit is contained in:
2
build.sh
2
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
|
||||
./build/build_tool.exe --compiler=clang
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user