From 40028eaf703afdf5e50e05ac601b44501e285a42 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Tue, 7 Dec 2021 23:06:12 -0800 Subject: [PATCH] [CMake] Specify byproducts for custom libcxx builds These were removed in bda3f2dd763b06427dd2713aa062e356c9d7bdc6 but are needed as it turned out for the MSan tests. --- compiler-rt/cmake/Modules/AddCompilerRT.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler-rt/cmake/Modules/AddCompilerRT.cmake b/compiler-rt/cmake/Modules/AddCompilerRT.cmake index 958c927..1244f35 100644 --- a/compiler-rt/cmake/Modules/AddCompilerRT.cmake +++ b/compiler-rt/cmake/Modules/AddCompilerRT.cmake @@ -654,6 +654,7 @@ macro(add_custom_libcxx name prefix) USES_TERMINAL_INSTALL 1 LIST_SEPARATOR | EXCLUDE_FROM_ALL TRUE + BUILD_BYPRODUCTS "${prefix}/lib/libc++.a" "${prefix}/lib/libc++abi.a" ) if (CMAKE_GENERATOR MATCHES "Make") -- 2.7.4