Permalink
Browse files

Merge pull request #8 from aslakhellesoy/llvm-3.2

Fixes needed to build on LLVM 3.2.
  • Loading branch information...
2 parents 1096d70 + ec0cdfe commit 5c8719c721cd8e018b5ae7874210865fde736a1b @lsegal committed Dec 28, 2012
Showing with 3 additions and 6 deletions.
  1. +3 −5 Makefile
  2. +0 −1 codegen.h
View
@@ -5,11 +5,9 @@ OBJS = parser.o \
main.o \
tokens.o \
-LLVM_MODULES = core jit native
-
-CPPFLAGS = `llvm-config --cppflags $(LLVM_MODULES)`
-LDFLAGS = `llvm-config --ldflags $(LLVM_MODULES)`
-LIBS = `llvm-config --libs $(LLVM_MODULES)`
+CPPFLAGS = `llvm-config --cppflags`
+LDFLAGS = `llvm-config --ldflags`
+LIBS = `llvm-config --libs`
clean:
$(RM) -rf parser.cpp parser.hpp parser tokens.cpp $(OBJS)
View
@@ -11,7 +11,6 @@
#include <llvm/Bitcode/ReaderWriter.h>
#include <llvm/Analysis/Verifier.h>
#include <llvm/Assembly/PrintModulePass.h>
-#include <llvm/Support/IRBuilder.h>
//#include <llvm/ModuleProvider.h>
#include <llvm/Support/TargetSelect.h>
#include <llvm/ExecutionEngine/GenericValue.h>

0 comments on commit 5c8719c

Please sign in to comment.