initial OpenBSD support

This commit is contained in:
Sébastien Marie committed 2022-02-25 08:49:25 +00:00
1 parent 3a469dc13e
commit 5676c9e7eb
30 files changed
+1151 -27

No files matched your search

+6
View File
@@ -58,6 +58,12 @@ ifeq ($(OS), Linux)
CFLAGS:=$(CFLAGS) $(shell $(LLVM_CONFIG) --cxxflags --ldflags)
LDFLAGS:=$(LDFLAGS) $(shell $(LLVM_CONFIG) --libs core native --system-libs)
endif
ifeq ($(OS), OpenBSD)
LLVM_CONFIG=/usr/local/bin/llvm-config
CFLAGS:=$(CFLAGS) $(shell $(LLVM_CONFIG) --cxxflags --ldflags)
LDFLAGS:=$(LDFLAGS) -liconv $(shell $(LLVM_CONFIG) --libs core native --system-libs)
endif
all: debug demo