From cb32d371bca38cc2ed6603acba49bdb12e8c30c0 Mon Sep 17 00:00:00 2001 From: Kent Russell Date: Tue, 3 Nov 2020 09:24:14 -0500 Subject: [PATCH] kfdtest: Quote all CXX flags Otherwise it doesn't play nicely with -O2 Change-Id: I2e5b60c73ee1ec668b186088a4e2e3a03af65033 [ROCm/ROCR-Runtime commit: 323bab073492d9c5bd39a9cc93eac067139ba05a] --- projects/rocr-runtime/tests/kfdtest/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocr-runtime/tests/kfdtest/CMakeLists.txt b/projects/rocr-runtime/tests/kfdtest/CMakeLists.txt index ae96fdc0cc..17d4b9bf4a 100644 --- a/projects/rocr-runtime/tests/kfdtest/CMakeLists.txt +++ b/projects/rocr-runtime/tests/kfdtest/CMakeLists.txt @@ -167,7 +167,7 @@ endif () ## Address Sanitize Flag if ( ${ADDRESS_SANITIZER} ) - set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" -fsanitize=address ) + set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address" ) set ( CMAKE_EXE_LINKER_FLAGS -fsanitize=address ) endif ()