commit 2aca0498abab86611fcb71315ebdf84e85f327ab
parent f2ad41a70dbca6aac73b3d299aea8ef21372ba89
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date: Fri, 21 Mar 2025 22:11:39 +0100
Commit a couple of improvements to the Emacs build script
* fix out-of-tree build
* allow tweaking configure options
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.local/bin/emacs-build b/.local/bin/emacs-build
@@ -2,8 +2,8 @@
set -eux
-src=${EMACS_SRC:-.}
-build=${EMACS_BUILD:-.}
+src=$(realpath "${EMACS_SRC:-.}")
+build=$(realpath "${EMACS_BUILD:-.}")
config_h=${build}/src/config.h
make="make -j$(nproc --all)"
@@ -35,6 +35,7 @@ configure_flags=(
--with-native-compilation=no
--with-sqlite3
--with-xinput2
+ ${CONFIGURE_EXTRA_FLAGS:-}
)
is-rolling-distro ()