Skip to content

Commit

Permalink
Merge branch 'master' into snapshot
Browse files Browse the repository at this point in the history
This updates snapshot to core24

Signed-off-by: Alex Murray <murray.alex@gmail.com>
  • Loading branch information
alexmurray committed Nov 4, 2024
2 parents 63e91a4 + f1ae004 commit ec7ee9a
Show file tree
Hide file tree
Showing 8 changed files with 468 additions and 142 deletions.
2 changes: 1 addition & 1 deletion emacsclient
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Launch emacsclient with the most appropriate toolkit (currently gtk (for real
# x11) or wayland)

Expand Down
2 changes: 1 addition & 1 deletion native-comp.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ index e97832455b9..b04cfa00c33 100644
(cond ((eq system-type 'darwin) '("-Wl,-w"))
- ((eq system-type 'cygwin) '("-Wl,-dynamicbase")))
+ ((eq system-type 'cygwin) '("-Wl,-dynamicbase"))
+ ((getenv "SNAP") (list (concat "--sysroot=" (file-name-as-directory (getenv "SNAP"))) (concat "-B" (file-name-as-directory (getenv "SNAP")) "usr/lib/gcc/"))))
+ ((getenv "SNAP_USER_COMMON") (list (concat "--sysroot=" (file-name-as-directory (getenv "SNAP_USER_COMMON")) "sysroot/") (concat "-B" (file-name-as-directory (getenv "SNAP_USER_COMMON")) "sysroot/usr/lib/gcc/"))))
"Options passed verbatim to the native compiler's back-end driver.
Note that not all options are meaningful; typically only the options
affecting the assembler and linker are likely to be useful.
82 changes: 0 additions & 82 deletions setup-env

This file was deleted.

5 changes: 5 additions & 0 deletions setup-env/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
setup-env: setup-env.c
gcc setup-env.c -o setup-env

install: setup-env
install -m 755 setup-env $(DESTDIR)/
Loading

0 comments on commit ec7ee9a

Please sign in to comment.