From 302ab12cad18a0ffde2b45a06daf59e12a23634e Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Fri, 11 Oct 2024 01:52:28 +0800 Subject: [PATCH] MacOS build compiler now using g++ instead of clang++. --- build.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build.py b/build.py index f5a49ac..fc28691 100644 --- a/build.py +++ b/build.py @@ -11,7 +11,6 @@ platform.machine().lower() ) PLATFORM = platform.system() -COMPILER = 'g++' cpp_files = [] for root, dirs, files in os.walk('src'): @@ -23,11 +22,8 @@ print("No .cpp files found in the src directory.") exit(1) -if PLATFORM == 'Darwin': - COMPILER = '/opt/homebrew/opt/llvm/bin/clang++' - gpp_command = [ - COMPILER, '-Iinclude', + 'g++', '-Iinclude', '-Wall', '-pedantic', '-Wdisabled-optimization', '-pedantic-errors', '-Wextra', '-Wcast-align', '-Wcast-qual', '-Wchar-subscripts', '-Wcomment',