mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 12:48:14 +00:00
Try llvm-config-11 in the Makefil
This commit is contained in:
@@ -12,8 +12,8 @@ ifeq ($(OS), Darwin)
|
||||
LDFLAGS:=$(LDFLAGS) $(shell llvm-config) -lLLVM-C
|
||||
endif
|
||||
ifeq ($(OS), Linux)
|
||||
CFLAGS:=$(CFLAGS) $(shell llvm-config --cxxflags --ldflags) -DLLVM_BACKEND_SUPPORT -DUSE_NEW_LLVM_ABI_SYSTEM
|
||||
LDFLAGS:=$(LDFLAGS) $(shell llvm-config) -lLLVM-C
|
||||
CFLAGS:=$(CFLAGS) $(shell llvm-config-11 --cxxflags --ldflags) -DLLVM_BACKEND_SUPPORT -DUSE_NEW_LLVM_ABI_SYSTEM
|
||||
LDFLAGS:=$(LDFLAGS) $(shell llvm-config-11) -lLLVM-C
|
||||
endif
|
||||
|
||||
all: debug demo
|
||||
|
||||
Reference in New Issue
Block a user