[PATCH] D40890: [compiler-rt][xray][cmake] Fix a build issue caused by set/item mixup

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 06:04:20 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL319893: [compiler-rt][xray][cmake] Fix a build issue caused by set/item mixup (authored by sdardis).

Repository:
  rL LLVM

https://reviews.llvm.org/D40890

Files:
  compiler-rt/trunk/lib/xray/CMakeLists.txt


Index: compiler-rt/trunk/lib/xray/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/xray/CMakeLists.txt
+++ compiler-rt/trunk/lib/xray/CMakeLists.txt
@@ -95,7 +95,7 @@
 foreach(arch ${XRAY_SUPPORTED_ARCH})
   if(CAN_TARGET_${arch})
     add_compiler_rt_object_libraries(RTXray
-      ARCHS ${XRAY_SUPPORTED_ARCH}
+      ARCHS ${arch}
       SOURCES ${XRAY_SOURCES} CFLAGS ${XRAY_CFLAGS}
       DEFS ${XRAY_COMMON_DEFINITIONS})
     add_compiler_rt_runtime(clang_rt.xray


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40890.125720.patch
Type: text/x-patch
Size: 529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171206/be8b99fd/attachment.bin>


More information about the llvm-commits mailing list