From 2aca0498abab86611fcb71315ebdf84e85f327ab Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Fri, 21 Mar 2025 22:11:39 +0100 Subject: Commit a couple of improvements to the Emacs build script * fix out-of-tree build * allow tweaking configure options --- .local/bin/emacs-build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.local') diff --git a/.local/bin/emacs-build b/.local/bin/emacs-build index c244934..4fd2b2e 100755 --- 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 () -- cgit v1.2.3