diff options
| author | Grégoire Duchêne <gregoire@awhk.org> | 2026-09-20 18:11:38 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gregoire@awhk.org> | 2026-09-20 21:28:56 +0100 |
| commit | 1ff207f64a9fc5e35ecc7253704c99f43d6474a9 (patch) | |
| tree | f7b9088733659eac77a359daf6d740628353b6df | |
| parent | 15a9759c6c40a931702a925871dacac6960a1a65 (diff) | |
darwin/emacs: Fix native compilation issues
Saw repeated errors like this one:
clang: error: invalid version number in '-mmacosx-version-min=18.0'
| -rw-r--r-- | dotfiles-darwin/emacs/early-init.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dotfiles-darwin/emacs/early-init.el b/dotfiles-darwin/emacs/early-init.el new file mode 100644 index 0000000..f35c484 --- /dev/null +++ b/dotfiles-darwin/emacs/early-init.el @@ -0,0 +1,4 @@ +;; -*- lexical-binding: t; -*- + +;; Fixes native compilation issues in macOS 27. +(setenv "MACOSX_DEPLOYMENT_TARGET" "27.0") |
