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.
This commit is contained in:
Efraim Flashner 2022-10-18 00:59:32 +03:00
parent d85c254319
commit 96f8945425
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -778,6 +778,10 @@ (define-public gcc-2.95
(("/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"