aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-04-25 15:57:35 +0100
committergingerBill <bill@gingerbill.org>2021-04-25 15:57:35 +0100
commitec2db568c14e7672d3837c820f4327b3360e3e6f (patch)
tree7ea6d2fc4b2fc5b58de7956b1d82a34f146da23d /Makefile
parent1387fd9047c13b7d009692798d02684743aaf1a7 (diff)
Update Makefile for macOS to be more "correct" with Linux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 193d5ae52..478b4b840 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ OS=$(shell uname)
ifeq ($(OS), Darwin)
LDFLAGS:=$(LDFLAGS) -liconv
CFLAGS:=$(CFLAGS) $(shell llvm-config --cxxflags --ldflags) -DLLVM_BACKEND_SUPPORT -DUSE_NEW_LLVM_ABI_SYSTEM
- LDFLAGS:=$(LDFLAGS) $(shell llvm-config) -lLLVM-C
+ LDFLAGS:=$(LDFLAGS) $(shell llvm-config-11 --libs core native --system-libs)
endif
ifeq ($(OS), Linux)
CFLAGS:=$(CFLAGS) $(shell llvm-config-11 --cxxflags --ldflags) -DLLVM_BACKEND_SUPPORT -DUSE_NEW_LLVM_ABI_SYSTEM