summaryrefslogtreecommitdiff
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-03-13 22:16:21 +0000
committerAndrea Corallo <akrl@sdf.org>2020-03-13 22:21:08 +0000
commit144e8f64b69e01a6c870574d04c92368f0056dd0 (patch)
tree80b5d874dd7da11a364f134e14940eaac71422e2 /src/comp.c
parentab8fed0a96a55107895e6105e7b0e4b6735156d7 (diff)
downloademacs-144e8f64b69e01a6c870574d04c92368f0056dd0.tar.gz
emacs-144e8f64b69e01a6c870574d04c92368f0056dd0.tar.bz2
emacs-144e8f64b69e01a6c870574d04c92368f0056dd0.zip
Prefix native compilation folders with "eln-"
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/comp.c b/src/comp.c
index 8176ba259ed..b9ecef07f32 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -266,11 +266,12 @@ hash_native_abi (void)
/* If 10 characters are usually sufficient for git I guess 16 are
fine for us here. */
Vcomp_native_path_postfix =
- concat3 (Vsystem_configuration,
- make_string ("-", 1),
- Fsubstring_no_properties (Vcomp_abi_hash,
- make_fixnum (0),
- make_fixnum (16)));
+ concat3 (make_string ("eln-", 4),
+ Vsystem_configuration,
+ concat2 (make_string ("-", 1),
+ Fsubstring_no_properties (Vcomp_abi_hash,
+ make_fixnum (0),
+ make_fixnum (16))));
}
static void