[libc-commits] [libc] [libc] Make use of 32-bit time_t a config option (PR #102012)

via libc-commits libc-commits at lists.llvm.org
Thu Aug 8 07:14:04 PDT 2024


================
@@ -71,6 +71,10 @@ function(_get_compile_options_from_config output_var)
     list(APPEND config_options "-DLIBC_QSORT_IMPL=${LIBC_CONF_QSORT_IMPL}")
   endif()
 
+  if(LIBC_TYPES_TIME_T_IS_32_BIT)
----------------
lntue wrote:

We should only pass the compile flag in full build mode:
```
if(LIBC_TYPES_TIME_T_IS_32_BIT AND LLVM_LIBC_FULL_BUILD)
```

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


More information about the libc-commits mailing list