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:
parent
66feaa320e
commit
0cce99684a
|
@ -206,7 +206,7 @@ where the OS part is overloaded to denote a specific ABI---into GCC
|
||||||
|
|
||||||
;; Fix the dynamic linker's file name.
|
;; Fix the dynamic linker's file name.
|
||||||
(substitute* (find-files "gcc/config"
|
(substitute* (find-files "gcc/config"
|
||||||
"^linux(64|-elf|-eabi)?\\.h$")
|
"^(linux|gnu)(64|-elf|-eabi)?\\.h$")
|
||||||
(("#define GLIBC_DYNAMIC_LINKER([^ ]*).*$" _ suffix)
|
(("#define GLIBC_DYNAMIC_LINKER([^ ]*).*$" _ suffix)
|
||||||
(format #f "#define GLIBC_DYNAMIC_LINKER~a \"~a\"~%"
|
(format #f "#define GLIBC_DYNAMIC_LINKER~a \"~a\"~%"
|
||||||
suffix
|
suffix
|
||||||
|
|
Loading…
Reference in New Issue