[libc-commits] [libc] [libc][cmake] move _get_hermetic_test_compile_options to LLVMLibCTestRules.cmake (PR #122549)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Fri Jan 10 15:42:43 PST 2025
================
@@ -359,6 +359,31 @@ if(NOT MSVC AND NOT LIBC_CC_SUPPORTS_NOSTDLIBPP)
string(STRIP ${LIBGCC_S_LOCATION} LIBGCC_S_LOCATION)
endif()
+function(_get_hermetic_test_compile_options output_var flags)
+ _get_common_test_compile_options(compile_options "" "${flags}")
----------------
nickdesaulniers wrote:
The three callsites don't pass `flags`. Maybe I can clean that up, too.
https://github.com/llvm/llvm-project/pull/122549
More information about the libc-commits
mailing list