summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-12-26 10:01:35 +0000
committerSam James <sam@gentoo.org>2024-12-26 10:59:39 +0000
commitbd408878bb57af9b91956f93eb86c8a32e137010 (patch)
treeaba2ec428b3ce246593116e05edc04feaec48720 /eclass
parentsys-kernel/gentoo-kernel-bin: Stabilize 6.1.121 x86, #946891 (diff)
downloadgentoo-bd408878bb57af9b91956f93eb86c8a32e137010.tar.gz
gentoo-bd408878bb57af9b91956f93eb86c8a32e137010.tar.bz2
gentoo-bd408878bb57af9b91956f93eb86c8a32e137010.zip
guile-utils.eclass: set GUILE_AUTO_COMPILE=fresh
Noticed this when looking at app-office/gnucash which was disabling GUILE_AUTO_COMPILE entirely (see 72dbf2ec4049df11ad63576971883ee239eadb7f). We don't want Guile making decisions based on the system cache files. Always recompile so we're deterministic. See https://www.gnu.org/software/guile/manual/html_node/Environment-Variables.html#index-GUILE_005fAUTO_005fCOMPILE. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/guile-utils.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/guile-utils.eclass b/eclass/guile-utils.eclass
index b0660dcfd1ce..d066013486ed 100644
--- a/eclass/guile-utils.eclass
+++ b/eclass/guile-utils.eclass
@@ -84,10 +84,14 @@ guile_check_compat
# @FUNCTION: guile_set_common_vars
# @DESCRIPTION:
# Sets common variables that apply to all Guile packages, namely,
-# QA_PREBUILT.
+# GUILE_AUTO_COMPILE and QA_PREBUILT.
guile_set_common_vars() {
debug-print-function ${FUNCNAME} "$@"
+ # We don't want Guile making decisions based on the system cache
+ # files. Always recompile so we're deterministic.
+ export GUILE_AUTO_COMPILE=fresh
+
# These aren't strictly speaking prebuilt. but they do generated a
# nonstandard ELF object.
if [[ -z ${QA_PREBUILT} ]]; then