commit | 2f46c6070400eb4547db3aef9443461c852a0c83 | [log] [tgz] |
---|---|---|
author | Stella Stamenova <stilis@microsoft.com> | Thu Dec 03 10:25:52 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Dec 08 16:45:27 2020 -0800 |
tree | 49279cad99778aa0d65d4f570827850a58f5f7c5 | |
parent | 7facad259da89e10b67a584385e7651b636ddf52 [diff] |
[compiler-rt] Fix a bug in the cmakelists file when CMAKE_CXX_FLAGS are empty Right now, the regex expression will fail if the flags were not set. Instead, we should follow the pattern of other llvm projects and quote the expression, so that it can work even when the flags are not set. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D92586 GitOrigin-RevId: 1410b72be3211fa2a3dffcc06c5dc904ae4a6fb4