3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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 <manolis837@gmail.com>
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Marek Benc 2015-02-05 17:12:54 +01:00 committed by Ludovic Courtès
parent 66feaa320e
commit 0cce99684a

View file

@ -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