[sanitizer] Fix for CMAKE_CXX_FLAGS update
authorBrian Cain <bcain@quicinc.com>
Thu, 19 Aug 2021 13:26:41 +0000 (06:26 -0700)
committerBrian Cain <bcain@quicinc.com>
Thu, 19 Aug 2021 19:05:55 +0000 (12:05 -0700)
commit68ab571e22e7dadf1262bba415e1365105d07a65
treec1adca67db37f5b52dc64987993de3b5a5495cc8
parentaeee014428ac5d4e639815541dbff5e298245064
[sanitizer] Fix for CMAKE_CXX_FLAGS update

With unquoted ${CMAKE_CXX_FLAGS}, the REGEX fails when it's empty:

```CMake Error at lib/scudo/standalone/CMakeLists.txt:14 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.```
compiler-rt/lib/gwp_asan/CMakeLists.txt
compiler-rt/lib/profile/CMakeLists.txt
compiler-rt/lib/scudo/standalone/CMakeLists.txt