[cmake] Always respect existing CMAKE_REQUIRED_FLAGS when adding additional ones.
authorDon Hinton <hintonda@gmail.com>
Tue, 23 Jan 2018 03:30:23 +0000 (03:30 +0000)
committerDon Hinton <hintonda@gmail.com>
Tue, 23 Jan 2018 03:30:23 +0000 (03:30 +0000)
commit66ddb50e44a7b7b03aadbef39a3a3058d1a7d8ff
tree6a8378af642fefd9d81b0f988fe6165bcd188213
parent4801624ee344803a09213d12c970ee322d180b7b
[cmake] Always respect existing CMAKE_REQUIRED_FLAGS when adding additional ones.

* Previously part of https://reviews.llvm.org/D41622.

llvm-svn: 323171
libcxx/cmake/Modules/CheckLibcxxAtomic.cmake