diff options
| author | gingerBill <bill@gingerbill.org> | 2021-04-25 19:49:29 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-04-25 19:49:29 +0100 |
| commit | 66a70b9d273509b5f4d827ec0a5de66810b10e00 (patch) | |
| tree | eed7438cf495085431d27f74f1f9c8135956d2de /Makefile | |
| parent | cd125c0f416af055bc9fadc2fb46f7b8865f87ad (diff) | |
Remove the need for `LLVM_BACKEND_SUPPORT`
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |