Subject: [PATCH RFC 4/6] gnu: glibc-2.30: Use gnu-build-system2 to fix cross-compiled build.

From: Maxim Cournoyer <[email-masked]>
Date: Wed, 14 Dec 2022 22:23:26 -0500

* gnu/packages/base.scm (glibc-2.30) [build-system]: Use gnu-build-system2.
---
 gnu/packages/base.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 36b27a4e25..b8b0ea241f 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -67,6 +67,7 @@ (define-module (gnu packages base)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
+  #:use-module ((guix build-system gnu2) #:select (gnu-build-system2))
   #:use-module (guix build-system trivial)
   #:use-module (ice-9 format)
   #:use-module (ice-9 match)
@@ -1083,6 +1084,7 @@ (define-public glibc-2.30
   (package
     (inherit glibc-2.31)
     (version "2.30")
+    (build-system gnu-build-system2)
     (native-inputs
      ;; This fails with a build error in libc-tls.c when using GCC 10.  Use an
      ;; older compiler.
-- 
2.38.1