From be55dae0d00d7f74e25904343dde725d78da5034 Mon Sep 17 00:00:00 2001 From: Krzosa Karol Date: Mon, 8 Jan 2024 07:15:56 +0100 Subject: [PATCH] Fix mac --- code/build_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/build_main.cpp b/code/build_main.cpp index 52df966..b477107 100644 --- a/code/build_main.cpp +++ b/code/build_main.cpp @@ -51,7 +51,7 @@ int main(int argument_count, char **arguments) { result = OS_SystemF("cl %Q -Fe:%Q -WX -W3 -wd4200 -diagnostics:column -nologo -Zi", build_file, exe_name); } else if (cc == "clang"_s) { - result = OS_SystemF("clang -Wno-writable-strings %Q -o %Q -g", build_file, exe_name); + result = OS_SystemF("clang++ -std=c++11 -Wno-writable-strings %Q -o %Q -g", build_file, exe_name); } else { IO_Assert(cc == "gcc"_s);