[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:22:30 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:
Added `LIBC_TEST_COMPILE_OPTIONS_DEFAULT` instead.
https://github.com/llvm/llvm-project/pull/106128
More information about the libc-commits
mailing list