diff options
author | Frits van Bommel <fvbommel@gmail.com> | 2011-05-25 06:32:23 +0000 |
---|---|---|
committer | Frits van Bommel <fvbommel@gmail.com> | 2011-05-25 06:32:23 +0000 |
commit | 6cd71c6292b8803fb3affe7cfc6f527fcdb280d8 (patch) | |
tree | 2949586265fe2bfb8df252c76aa70305c7fbc5df /lib/CodeGen/CallingConvLower.cpp | |
parent | 804cb233050ef17c9b136505c3b855444801bde0 (diff) |
Fix warning in the CMake build about redefining LLVM_PATH_XDOT_PY by making sure both definitions are identical. This used to produce warnings like
In file included from .../llvm/trunk/tools/lto/LTOCodeGenerator.cpp:45:
In file included from .../llvm/trunk/include/llvm/Support/system_error.h:225:
.../include/llvm/Config/config.h:591:9: warning: 'LLVM_PATH_XDOT_PY' macro redefined
#define LLVM_PATH_XDOT_PY ".../bin/xdot.py"
^
.../include/llvm/Config/llvm-config.h:98:9: note: previous definition is here
#define LLVM_PATH_XDOT_PY ""
^
1 warning generated.
(Paths edited for clarity)
Note: This only affected people who had xdot.py installed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CallingConvLower.cpp')
0 files changed, 0 insertions, 0 deletions