From 96f8945425c9b43cc083733d2331bc305650c902 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 18 Oct 2022 00:59:32 +0300 Subject: gnu: gcc-2.95: Add substitution for the Hurd's linker. * gnu/packages/gcc.scm (gcc-2.95)[arguments]: Adjust custom 'set-dynamic-linker-file-name phase to also substitute the Hurd's linker. --- gnu/packages/gcc.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu/packages/gcc.scm') diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 30b2be1f5a..ea9b9e57f4 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -778,6 +778,10 @@ It also includes runtime support libraries for these languages.") (("/lib/ld\\.so\\.1") (search-input-file inputs #$(glibc-dynamic-linker matching-system)))) + (substitute* "gcc/config/i386/gnu.h" + (("/lib/ld\\.so") + (search-input-file + inputs #$(glibc-dynamic-linker matching-system)))) (substitute* '("gcc/config/alpha/linux-elf.h" "gcc/config/arm/linux-elf.h" "gcc/config/i386/linux.h" -- cgit v1.2.3