[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: gcc-2.95: Add substitution for the Hurd's linker.
From: |
guix-commits |
Subject: |
01/02: gnu: gcc-2.95: Add substitution for the Hurd's linker. |
Date: |
Tue, 18 Oct 2022 01:43:36 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 96f8945425c9b43cc083733d2331bc305650c902
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 18 00:59:32 2022 +0300
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(+)
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"