From a9e0588878d7f05b47a8ab2db464795c58a76b3d Mon Sep 17 00:00:00 2001 From: kayomn Date: Sat, 18 Feb 2023 03:38:22 +0000 Subject: [PATCH] Fix build script not compiling with debug symbols --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 41c3cb1..93acd4e 100755 --- a/build.py +++ b/build.py @@ -9,7 +9,7 @@ cache_path = "./cache/" if not(os.path.exists(cache_path)): os.mkdir(cache_path) -compile_command = f"clang++ -std=c++20 -fno-exceptions -fmodules -fprebuilt-module-path=./cache" +compile_command = f"clang++ -g -std=c++20 -fno-exceptions -fmodules -fprebuilt-module-path=./cache" object_file_paths = [] def compile_module(source_file_path, module_identifier) -> None: