]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/comp.c (Fcomp__compile_ctxt_to_file): Don't cleanup caches at bootstrap.
authorAndrea Corallo <akrl@sdf.org>
Tue, 8 Sep 2020 08:58:59 +0000 (10:58 +0200)
committerAndrea Corallo <akrl@sdf.org>
Tue, 8 Sep 2020 11:02:45 +0000 (13:02 +0200)
src/comp.c

index 5880224ac777c4f65cd8e153444a19d01595045e..71a36a60a082dfd8d8873d125e376fcc10a1559c 100644 (file)
@@ -4359,7 +4359,10 @@ DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file,
                                   GCC_JIT_OUTPUT_KIND_DYNAMIC_LIBRARY,
                                   SSDATA (tmp_file));
 
-  CALL1I (comp-clean-up-stale-eln, file_name);
+  /* FIXME: this if workaround a cc-bytecomp compilation issue
+     appearing on the Docker build that must be investigated.  */
+  if (NILP (Fsymbol_value(intern_c_string ("byte-native-for-bootstrap"))))
+    CALL1I (comp-clean-up-stale-eln, file_name);
   CALL2I (comp-delete-or-replace-file, file_name, tmp_file);
 
   if (!noninteractive)