[libc-commits] [libc] [libc] force GCC limits.h to not include_next limits.h (PR #79211)

via libc-commits libc-commits at lists.llvm.org
Tue Jan 23 13:33:41 PST 2024


================
@@ -136,6 +138,7 @@ add_libc_test(
     clock_test.cpp
   DEPENDS
     libc.include.time
-    libc.src.time.clock
+    libc.src.__support.CPP.limits
----------------
michaelrj-google wrote:

DEPENDS primarily tells cmake which object files need to be linked. For header files it's technically unnecessary, though we should still do it to make sure that cmake properly rebuilds targets that depend on those header files.

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


More information about the libc-commits mailing list