aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-04-25 19:49:29 +0100
committergingerBill <bill@gingerbill.org>2021-04-25 19:49:29 +0100
commit66a70b9d273509b5f4d827ec0a5de66810b10e00 (patch)
treeeed7438cf495085431d27f74f1f9c8135956d2de /Makefile
parentcd125c0f416af055bc9fadc2fb46f7b8865f87ad (diff)
Remove the need for `LLVM_BACKEND_SUPPORT`
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e07e4c4ec..0352cb3a6 100644
--- a/Makefile
+++ b/Makefile
@@ -8,11 +8,11 @@ OS=$(shell uname)
ifeq ($(OS), Darwin)
LDFLAGS:=$(LDFLAGS) -liconv
- CFLAGS:=$(CFLAGS) $(shell llvm-config --cxxflags --ldflags) -DLLVM_BACKEND_SUPPORT -DUSE_NEW_LLVM_ABI_SYSTEM
+ CFLAGS:=$(CFLAGS) $(shell llvm-config --cxxflags --ldflags)
LDFLAGS:=$(LDFLAGS) -lLLVM-C
endif
ifeq ($(OS), Linux)
- CFLAGS:=$(CFLAGS) $(shell llvm-config-11 --cxxflags --ldflags) -DLLVM_BACKEND_SUPPORT -DUSE_NEW_LLVM_ABI_SYSTEM
+ CFLAGS:=$(CFLAGS) $(shell llvm-config-11 --cxxflags --ldflags)
LDFLAGS:=$(LDFLAGS) $(shell llvm-config-11 --libs core native --system-libs)
endif