X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=examples%2FKaleidoscope%2FOrc%2Finitial%2FMakefile;h=5536314f2a30906c750f6a6d74c0d4c71417df01;hp=e14cce2ba36af3cbddce42621f0a3e858ecb509c;hb=479637161581e79a2659ffac0b62c2c0d53ea5f3;hpb=788b96702b5f36cde16615588e771050bfd97fc9 diff --git a/examples/Kaleidoscope/Orc/initial/Makefile b/examples/Kaleidoscope/Orc/initial/Makefile index e14cce2ba36..5536314f2a3 100644 --- a/examples/Kaleidoscope/Orc/initial/Makefile +++ b/examples/Kaleidoscope/Orc/initial/Makefile @@ -6,10 +6,11 @@ else 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 - $(CXX) $(LLVM_CXXFLAGS) -Wall -std=c++14 -g -O0 -rdynamic -fno-rtti -o toy toy.cpp + $(CXX) $(LLVM_CXXFLAGS) -Wall -std=c++11 -g -O0 -rdynamic -fno-rtti -o toy toy.cpp $(LLVM_LDFLAGS) .PHONY: clean clean: