Mercurial > projects > ldc
view tools/binding/prebuild.sh @ 1534:8ca25bd765a3
Build fix for the latest LLVMContext changes (LLVM r75445)
This shouldn't break the build with older LLVM revs. We include
LLVMContext.h in gen/llvm.h now to make the transition a little bit
easier.
author | Benjamin Kramer <benny.kra@gmail.com> |
---|---|
date | Mon, 13 Jul 2009 12:17:58 +0200 |
parents | 4ff9ab0d472c |
children |
line wrap: on
line source
#!/bin/sh g++ llvm-ext.cpp -c `llvm-config --cxxflags` g++ llvm-opt.cpp -c `llvm-config --cxxflags` g++ llvm-typemonitor.cpp -c `llvm-config --cxxflags` rm -f libllvm-c-ext.a ar rc libllvm-c-ext.a llvm-ext.o llvm-opt.o llvm-typemonitor.o ranlib libllvm-c-ext.a