[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp 096c785 1/2: * Fix a function for native compilation
From: |
Andrea Corallo |
Subject: |
feature/native-comp 096c785 1/2: * Fix a function for native compilation in cc-bytecomp.el |
Date: |
Sun, 25 Oct 2020 19:00:46 -0400 (EDT) |
branch: feature/native-comp
commit 096c78523d849a75847152dff7458e883d668cb8
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>
* Fix a function for native compilation in cc-bytecomp.el
* lisp/progmodes/cc-bytecomp.el
(cc-bytecomp-compiling-or-loading): Update for native compilation.
---
lisp/progmodes/cc-bytecomp.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/cc-bytecomp.el b/lisp/progmodes/cc-bytecomp.el
index ad88428..7798b49 100644
--- a/lisp/progmodes/cc-bytecomp.el
+++ b/lisp/progmodes/cc-bytecomp.el
@@ -110,14 +110,15 @@
(memq (cadr elt)
'(load require
byte-compile-file byte-recompile-directory
- batch-byte-compile)))))
+ batch-byte-compile batch-native-compile)))))
(setq n (1+ n)))
(cond
((memq (cadr elt) '(load require))
'loading)
((memq (cadr elt) '(byte-compile-file
byte-recompile-directory
- batch-byte-compile))
+ batch-byte-compile
+ batch-native-compile))
'compiling)
(t ; Can't happen.
(message "cc-bytecomp-compiling-or-loading: System flags spuriously
set")