mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
fix(cli): don't AOT native-comp if disabled
This commit is contained in:
@ -300,7 +300,8 @@ list remains lean."
|
|||||||
(and (eq (car-safe build) :not)
|
(and (eq (car-safe build) :not)
|
||||||
(setq want-byte-compile (not want-byte-compile)
|
(setq want-byte-compile (not want-byte-compile)
|
||||||
want-native-compile (not want-native-compile)))
|
want-native-compile (not want-native-compile)))
|
||||||
(unless (featurep 'native-compile)
|
(when (or (not (featurep 'native-compile))
|
||||||
|
(not straight--native-comp-available))
|
||||||
(setq want-native-compile nil))
|
(setq want-native-compile nil))
|
||||||
(and (or want-byte-compile want-native-compile)
|
(and (or want-byte-compile want-native-compile)
|
||||||
(or (file-newer-than-file-p repo-dir build-dir)
|
(or (file-newer-than-file-p repo-dir build-dir)
|
||||||
|
Reference in New Issue
Block a user