summaryrefslogtreecommitdiffstats
path: root/libcxx/src/experimental/filesystem/operations.cpp
diff options
context:
space:
mode:
authorDon Hinton <hintonda@gmail.com>2017-12-25 01:23:09 +0000
committerDon Hinton <hintonda@gmail.com>2017-12-25 01:23:09 +0000
commit3a5a48b571145030989b05062ceb81daa63bdc2d (patch)
tree99283d64fab129c37a6b9615d33a22bcc25f131f /libcxx/src/experimental/filesystem/operations.cpp
parentfabeb27e365492c3d6dcba0ed91d8b8a322e5a57 (diff)
downloadbcm5719-llvm-3a5a48b571145030989b05062ceb81daa63bdc2d.tar.gz
bcm5719-llvm-3a5a48b571145030989b05062ceb81daa63bdc2d.zip
[cmake] Always respect existing CMAKE_REQUIRED_FLAGS when adding additional ones.
Summary: Always respect existing CMAKE_REQUIRED_FLAGS when adding additional ones. This is important when cross compiling where --sysroot and -target were already added. In particular, this is needed when cross compiling from Darwin to Linux, since --sysroot is required to find headers and libraries. Cmake has a similar bug in check_include_file[_cxx] where CMAKE_REQUIRED_LIBRARIES isn't passed, which causes try_compile to fail. (please see https://gitlab.kitware.com/cmake/cmake/merge_requests/1620) Reviewers: compnerd, silvas, beanz, brad.king Reviewed By: compnerd Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D41568 llvm-svn: 321434
Diffstat (limited to 'libcxx/src/experimental/filesystem/operations.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud