diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site index 4a77cc20b4e..a2c93996970 100644 --- a/nt/mingw-cfg.site +++ b/nt/mingw-cfg.site @@ -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 +# . +ac_cv_func_strsignal=no diff --git a/src/comp.c b/src/comp.c index 70f61bfbe1d..166c75bea0d 100644 --- a/src/comp.c +++ b/src/comp.c @@ -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); }