[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:44 PDT 2024


================
@@ -233,7 +233,7 @@ endfunction()
 
 function(_get_hermetic_test_compile_options output_var flags)
   _get_compile_options_from_flags(compile_flags ${flags})
-  list(APPEND compile_options ${LIBC_COMPILE_OPTIONS_DEFAULT} ${compile_flags}
+  set(compile_options ${LIBC_COMPILE_OPTIONS_DEFAULT} ${compile_flags}
----------------
lntue wrote:

Fixed.

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


More information about the libc-commits mailing list