]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix --with-nativecomp Windows build (bug#45303)
authorLiāu, Kiong-Gē 廖宮毅 <gongyi.liao@gmail.com>
Tue, 22 Dec 2020 19:02:50 +0000 (20:02 +0100)
committerAndrea Corallo <akrl@sdf.org>
Tue, 22 Dec 2020 20:06:16 +0000 (21:06 +0100)
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

nt/mingw-cfg.site
src/comp.c

index 4a77cc20b4ef519f7ae6cf7db6a87bc0664338bd..a2c939969709434420767bd705e55725d511761c 100644 (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
index 70f61bfbe1d44e1f9ab8baa8c1ba36c35a16d941..166c75bea0d7fb61e7451d94d2bdf5ad0a832225 100644 (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);
     }