guix_mirror_bot pushed a commit to branch core-packages-team
in repository guix.

commit a34339c23379c05e1f541e31c392229f62a513d6
Author: Zheng Junjie <[email protected]>
AuthorDate: Tue Jul 21 00:38:37 2026 +0800

    gnu: cross-gcc-arguments: Use --disable-libcc1
    
    * gnu/packages/cross-base.scm (cross-gcc-arguments)[#:configure-flags]: Add
    "--disable-libcc1"
    
    Change-Id: I8608c601ed675c27e38ed66652d2195c9ee8035f
---
 gnu/packages/cross-base.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index 438e732fe46..254c25dc84d 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -220,7 +220,12 @@ base compiler and using LIBC (which may be either a libc 
package or #f.)"
                                    "--enable-languages=c,c++"
                                    (string-append 
"--with-native-system-header-dir="
                                                   #$libc "/" #$target 
"/include"))
-                                #~()))
+                                #~())
+                         ;; This avoids the situation where the cross-compiled
+                         ;; gcc-lib carries libcc1 and related plugins, thus
+                         ;; eliminating the need to rely on the native glibc
+                         ;; and corresponding bash-static.
+                         "--disable-libcc1")
 
                    (remove
                      (lambda (flag)

Reply via email to