projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Orc][Kaleidoscope] Fix the orc/kaleidoscope tutorials on linux.
[oota-llvm.git]
/
examples
/
Kaleidoscope
/
Orc
/
fully_lazy
/
Makefile
diff --git
a/examples/Kaleidoscope/Orc/fully_lazy/Makefile
b/examples/Kaleidoscope/Orc/fully_lazy/Makefile
index e14cce2ba36af3cbddce42621f0a3e858ecb509c..5536314f2a30906c750f6a6d74c0d4c71417df01 100644
(file)
--- a/
examples/Kaleidoscope/Orc/fully_lazy/Makefile
+++ b/
examples/Kaleidoscope/Orc/fully_lazy/Makefile
@@
-6,10
+6,11
@@
else
CXX := clang++
endif
CXX := clang++
endif
-LLVM_CXXFLAGS := $(shell llvm-config --cppflags --ldflags --system-libs --libs core orcjit native)
+LLVM_CXXFLAGS := $(shell llvm-config --cxxflags)
+LLVM_LDFLAGS := $(shell llvm-config --ldflags --system-libs --libs core orcjit native)
toy: toy.cpp
toy: toy.cpp
- $(CXX) $(LLVM_CXXFLAGS) -Wall -std=c++1
4 -g -O0 -rdynamic -fno-rtti -o toy toy.cpp
+ $(CXX) $(LLVM_CXXFLAGS) -Wall -std=c++1
1 -g -O0 -rdynamic -fno-rtti -o toy toy.cpp $(LLVM_LDFLAGS)
.PHONY: clean
clean:
.PHONY: clean
clean: