summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objcopy/Object.cpp
diff options
context:
space:
mode:
authorDon Hinton <hintonda@gmail.com>2018-01-22 19:15:06 +0000
committerDon Hinton <hintonda@gmail.com>2018-01-22 19:15:06 +0000
commit82c5878575a01bd17cb6b5e3f81703e01f8b0fd9 (patch)
tree94899188b5cd724833e9f640702d57a0cb810003 /llvm/tools/llvm-objcopy/Object.cpp
parent68aab34f2d52842a8a47a7d01ab8dbd150cc976c (diff)
downloadbcm5719-llvm-82c5878575a01bd17cb6b5e3f81703e01f8b0fd9.tar.gz
bcm5719-llvm-82c5878575a01bd17cb6b5e3f81703e01f8b0fd9.zip
[cmake] [libunwind] Fix find_path() problems when cross compiling
When CMAKE_SYSROOT or CMAKE_FIND_ROOT_PATH is set, cmake recommends setting CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY globally which means find_path() always prepends CMAKE_SYSROOT or CMAKE_FIND_ROOT_PATH to all paths used in the search. However, this find_path() invocation is looking for a path in the libcxx project on the host system, not the target system, which can be done by passing NO_CMAKE_FIND_ROOT_PATH. Differential Revision: https://reviews.llvm.org/D41621 llvm-svn: 323141
Diffstat (limited to 'llvm/tools/llvm-objcopy/Object.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud