summaryrefslogtreecommitdiff
path: root/pgosupport.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'pgosupport.cmake')
-rw-r--r--pgosupport.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/pgosupport.cmake b/pgosupport.cmake
index 90bcbc3876..1f8ee9c8db 100644
--- a/pgosupport.cmake
+++ b/pgosupport.cmake
@@ -11,8 +11,7 @@ function(add_pgo TargetName)
if(WIN32)
set(ProfileFileName "${TargetName}.pgd")
else(WIN32)
- # Clang/LLVM uses one profdata file for the entire repo
- set(ProfileFileName "coreclr.profdata")
+ set(ProfileFileName "${TargetName}.profdata")
endif(WIN32)
set(CLR_CMAKE_OPTDATA_PACKAGEWITHRID "optimization.${CLR_CMAKE_TARGET_OS}-${CLR_CMAKE_TARGET_ARCH}.PGO.CoreCLR")