aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Object.cpp
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-04-02 13:21:12 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-04-02 13:21:12 +0000
commitf2ab92833a10e0271c706685ad6b54025988531b (patch)
tree086922e24c2f639d5fa7283ec12df73b05f310b3 /llvm/lib/Object/Object.cpp
parentf20ec92331b160d0d5b2955620759c1a61a5156f (diff)
downloadllvm-f2ab92833a10e0271c706685ad6b54025988531b.zip
llvm-f2ab92833a10e0271c706685ad6b54025988531b.tar.gz
llvm-f2ab92833a10e0271c706685ad6b54025988531b.tar.bz2
Handle changing of LLVM_ENABLE_FFI.
If someone first configure build with LLVM_ENABLE_FFI=1 and then turn it off, the build will fail in lib/ExecutionEngine/Interpreter because Interpreter will try still to #include <ffi/ffi.h>, but there are no include_directories(${FFI_INCLUDE_DIR}) now. This patch unset()'s HAVE_FFI_H and HAVE_FFI_FFI_H from cache file if LLVM_ENABLE_FFI=0. This forces CMake to update config.h. Patch by arrowdodger! llvm-svn: 128769
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions