Fix --with-nativecomp Windows build (bug#45303)

Liāu, Kiong-Gē 廖宮毅 <gongyi.liao@gmail.com>

	* src/comp.c (eln_load_path_final_clean_up): Fix argument order.
	* nt/mingw-cfg.site (ac_cv_func_strsignal): Force
	`ac_cv_func_strsignal' to no.

Copyright-paperwork-exempt: yes
This commit is contained in:
Liāu, Kiong-Gē 廖宮毅 2020-12-22 20:02:50 +01:00 committed by Andrea Corallo
parent 9676e4d776
commit 433ae7b0a5
2 changed files with 5 additions and 1 deletions

View file

@ -156,3 +156,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
# Force 'ac_cv_func_strsignal' to no as mingw64 libgccjit exports this
# symbol erroneously
# <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45303#83>.
ac_cv_func_strsignal=no

View file

@ -4534,7 +4534,7 @@ eln_load_path_final_clean_up (void)
concat2 (XCAR (dir_tail),
Vcomp_native_version_dir),
Qt, build_string ("\\.eln\\.old\\'"), Qnil,
Qt, Qnil, return_nil);
Qnil, Qt, return_nil);
FOR_EACH_TAIL (files_in_dir)
Fdelete_file (XCAR (files_in_dir), Qnil);
}