From 3eae69effccf9954cf911414e58394ff5def5c81 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 25 Feb 2021 13:17:00 +0000 Subject: Make USE_NEW_LLVM_ABI_SYSTEM the actual behaviour and remove the previous approach --- src/main.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 4ab4df7be..bc45b80af 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -31,7 +31,7 @@ gb_global Timings global_timings = {0}; #if defined(GB_SYSTEM_OSX) #include - #if LLVM_VERSION_MAJOR < 11 + #if LLVM_VERSION_MAJOR < 11 #error LLVM Version 11+ is required => "brew install llvm@11" #endif #endif @@ -1844,9 +1844,7 @@ void print_show_unused(Checker *c) { void enforce_platform_settings(void) { #if defined(GB_SYSTEM_OSX) && defined(GB_CPU_ARM) - #if defined(USE_NEW_LLVM_ABI_SYSTEM) - build_context.use_llvm_api = true; - #endif + build_context.use_llvm_api = true; #endif } -- cgit v1.2.3