From 88599eeac19004d65e241179b73d19ef4723e82b Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 26 Feb 2021 15:29:41 +0000 Subject: [PATCH] Update build-m1.sh to remove unneeded macro define --- build-m1.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-m1.sh b/build-m1.sh index d89d99f97..ebd53d4aa 100755 --- a/build-m1.sh +++ b/build-m1.sh @@ -5,7 +5,7 @@ release_mode=$1 warnings_to_disable="-std=c++11 -Wno-switch" libraries="-pthread -ldl -lm -lstdc++ -lz -lcurses -lxml2" -other_args="-DLLVM_BACKEND_SUPPORT -DUSE_NEW_LLVM_ABI_SYSTEM" +other_args="-DLLVM_BACKEND_SUPPORT" compiler="clang" if [ -z "$release_mode" ]; then release_mode="0"; fi @@ -33,5 +33,5 @@ elif [[ "$(uname)" == "FreeBSD" ]]; then compiler="clang" fi -${compiler} src/main.cpp ${warnings_to_disable} ${libraries} ${other_args} -o odin +${compiler} src/main.cpp ${warnings_to_disable} ${libraries} ${other_args} -o odin # && ./odin run examples/demo/demo.odin -llvm-api