From 4d077bba89a7b63f2a16d7bb546843739d86b715 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Wed, 20 Nov 2024 16:58:20 +0100 Subject: [PATCH] gnu: gcc-14: Force libdir /lib instead of /lib64 for the 64bit Hurd. * gnu/packages/gcc.scm (gcc-14)[arguments]: In stage "pre-x86-configure", also patch "gcc/config/i386/t-gnu64". Change-Id: Ib2607c5f315c49696596fdcbcbbcc2895b6a9775 --- gnu/packages/gcc.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index 64ba37fd69..e437bf5826 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -843,7 +843,8 @@ (define-public gcc-14 #~(modify-phases #$phases (add-before 'configure 'pre-x86-configure (lambda _ - (substitute* "gcc/config/i386/t-linux64" + (substitute* '("gcc/config/i386/t-linux64" + "gcc/config/i386/t-gnu64") (("\\.\\./lib64") "../lib")))))))) (properties `((compiler-cpu-architectures