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.
This commit is contained in:
parent
ecf84a22ee
commit
64513abf3e
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue