civodul pushed a commit to branch core-updates
in repository guix.

commit 0cce99684ae09808c7236350a7283084d0181de1
Author: Marek Benc <[email protected]>
Date:   Thu Feb 5 17:12:54 2015 +0100

    gnu: gcc: Also substitute the dynamic linker name for GNU/Hurd.
    
    * gnu/packages/gcc.scm (gcc-4.7): Also substitute the dynamic linker name
      for GNU (ie. Hurd) systems.
    
    Signed-off-by: Manolis Ragkousis <[email protected]>
    Co-authored-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/gcc.scm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index dcac16d..d2652ae 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -206,7 +206,7 @@ where the OS part is overloaded to denote a specific 
ABI---into GCC
 
                 ;; Fix the dynamic linker's file name.
                 (substitute* (find-files "gcc/config"
-                                         "^linux(64|-elf|-eabi)?\\.h$")
+                                         "^(linux|gnu)(64|-elf|-eabi)?\\.h$")
                   (("#define GLIBC_DYNAMIC_LINKER([^ ]*).*$" _ suffix)
                    (format #f "#define GLIBC_DYNAMIC_LINKER~a \"~a\"~%"
                            suffix

Reply via email to