diff options
Diffstat (limited to 'compiler-rt/lib/CMakeLists.txt')
-rw-r--r-- | compiler-rt/lib/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/CMakeLists.txt b/compiler-rt/lib/CMakeLists.txt index a92d0a3f082..b3731f653a0 100644 --- a/compiler-rt/lib/CMakeLists.txt +++ b/compiler-rt/lib/CMakeLists.txt @@ -41,7 +41,7 @@ if(COMPILER_RT_BUILD_SANITIZERS) endforeach() endif() -if (COMPILER_RT_HAS_PROFILE) +if(COMPILER_RT_BUILD_PROFILE AND COMPILER_RT_HAS_PROFILE) compiler_rt_build_runtime(profile) endif() |