Skip to content

Commit

Permalink
Set native-comp-driver-options as default value
Browse files Browse the repository at this point in the history
When setting native-comp-driver-options in our site-start.el set this as
the default value so that early init uses it too - fixes issue #35

Signed-off-by: Alex Murray <murray.alex@gmail.com>
  • Loading branch information
alexmurray committed Apr 6, 2022
1 parent a83059c commit 6308794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site-lisp/site-start.el
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
(eval-when-compile
(require 'comp))
(let ((snap (file-name-as-directory (getenv "SNAP"))))
(setq native-comp-driver-options (list (concat "--sysroot=" snap)
(concat "-B" snap "usr/lib/gcc/"))))
(setq-default native-comp-driver-options (list (concat "--sysroot=" snap)
(concat "-B" snap "usr/lib/gcc/"))))

(provide 'site-start)
;;; site-start.el ends here

0 comments on commit 6308794

Please sign in to comment.