[libc-commits] [libc] [libc] Fix unit test compile flags propagation. (PR #106128)

via libc-commits libc-commits at lists.llvm.org
Thu Aug 29 11:21:53 PDT 2024


================
@@ -138,7 +138,7 @@ function(create_libc_unittest fq_target_name)
 
   _get_common_test_compile_options(compile_options "${LIBC_UNITTEST_C_TEST}"
                                    "${LIBC_UNITTEST_FLAGS}")
-  list(APPEND compile_options ${LIBC_UNITTEST_COMPILE_OPTIONS})
+  list(APPEND compile_options ${LIBC_UNITTEST_COMPILE_OPTIONS} -static)
----------------
lntue wrote:

Fixed.

https://github.com/llvm/llvm-project/pull/106128


More information about the libc-commits mailing list