summaryrefslogtreecommitdiff
path: root/dotfiles-darwin/emacs
diff options
context:
space:
mode:
authorGrégoire Duchêne <gregoire@awhk.org>2026-09-20 18:11:38 +0100
committerGrégoire Duchêne <gregoire@awhk.org>2026-09-20 21:28:56 +0100
commit1ff207f64a9fc5e35ecc7253704c99f43d6474a9 (patch)
treef7b9088733659eac77a359daf6d740628353b6df /dotfiles-darwin/emacs
parent15a9759c6c40a931702a925871dacac6960a1a65 (diff)
darwin/emacs: Fix native compilation issues
Saw repeated errors like this one: clang: error: invalid version number in '-mmacosx-version-min=18.0'
Diffstat (limited to 'dotfiles-darwin/emacs')
-rw-r--r--dotfiles-darwin/emacs/early-init.el4
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")