[libc-commits] [libc] [libc] Update libc_errno to work correctly in both overlay and full build modes. (PR #80177)

via libc-commits libc-commits at lists.llvm.org
Thu Feb 1 08:55:31 PST 2024


================
@@ -1,9 +1,20 @@
+# If we are in full build mode, we will provide the errno definition ourselves,
+# and if we are in overlay mode, we will just re-use the system's errno.
+# We are passing LIBC_FULL_BUILD flag in full build mode so that the
+# implementation of libc_errno will know if we are in full build mode or not.
+set(full_build_flag "")
----------------
lntue wrote:

Done.

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


More information about the libc-commits mailing list