Up ci.yml

This commit is contained in:
gingerBill
2021-04-24 20:55:50 +01:00
parent 4272fe5e85
commit 2b4010998d
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -9,11 +9,11 @@ OS=$(shell uname)
ifeq ($(OS), Darwin)
LDFLAGS:=$(LDFLAGS) -liconv
CFLAGS:=$(CFLAGS) $(shell llvm-config --cflags) -DLLVM_BACKEND_SUPPORT -DUSE_NEW_LLVM_ABI_SYSTEM
LDFLAGS:=$(LDFLAGS) $(shell llvm-config --ldflags --libs)
LDFLAGS:=$(LDFLAGS) $(shell llvm-config --ldflags --libs) -lLLVM-C
endif
ifeq ($(OS), Linux)
CFLAGS:=$(CFLAGS) $(shell llvm-config --cflags) -DLLVM_BACKEND_SUPPORT -DUSE_NEW_LLVM_ABI_SYSTEM
LDFLAGS:=$(LDFLAGS) $(shell llvm-config --ldflags --libs)
LDFLAGS:=$(LDFLAGS) $(shell llvm-config --ldflags --libs) -lLLVM-C
endif
all: debug demo