[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 64513ab: Don't compile Gnulib's 'free' on MinGW
From: |
Eli Zaretskii |
Subject: |
master 64513ab: Don't compile Gnulib's 'free' on MinGW |
Date: |
Fri, 25 Dec 2020 08:18:29 -0500 (EST) |
branch: master
commit 64513abf3eb5f845f56250ff8dc0ab8a9d193956
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Don't compile Gnulib's 'free' on MinGW
* nt/mingw-cfg.site (gl_cv_func_free_preserves_errno): Set to
"yes" to avoid compiling Gnulib's free.c in the MinGW build.
---
nt/mingw-cfg.site | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site
index a9ca20c..9630077 100644
--- a/nt/mingw-cfg.site
+++ b/nt/mingw-cfg.site
@@ -158,3 +158,7 @@ gl_cv_func_copy_file_range=yes
# We don't want to build Emacs so it depends on bcrypt.dll, since then
# it will refuse to start on systems where that DLL is absent.
gl_cv_lib_assume_bcrypt=no
+# Don't build the Gnulib free.c: it is not needed, since the w32
+# implementation of 'free' doesn't touch errno, and it emits a
+# compilation warning.
+gl_cv_func_free_preserves_errno=yes
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 64513ab: Don't compile Gnulib's 'free' on MinGW,
Eli Zaretskii <=