From 1ff207f64a9fc5e35ecc7253704c99f43d6474a9 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sun, 20 Sep 2026 18:11:38 +0100 Subject: darwin/emacs: Fix native compilation issues Saw repeated errors like this one: clang: error: invalid version number in '-mmacosx-version-min=18.0' --- dotfiles-darwin/emacs/early-init.el | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 dotfiles-darwin/emacs/early-init.el 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") -- cgit v1.3.1