guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates updated: gnu: cross-base: Build cross-compilers with


From: guix-commits
Subject: branch core-updates updated: gnu: cross-base: Build cross-compilers with ‘--enable-languages=c,c++’.
Date: Mon, 15 Jan 2024 10:40:08 -0500

This is an automated email from the git hooks/post-receive script.

civodul pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new bb1c78b001 gnu: cross-base: Build cross-compilers with 
‘--enable-languages=c,c++’.
bb1c78b001 is described below

commit bb1c78b0014b80095da31b5e0ff44ca7d847f153
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Jan 15 16:37:52 2024 +0100

    gnu: cross-base: Build cross-compilers with ‘--enable-languages=c,c++’.
    
    This fixes a regression introduced in
    d21d596f72ad491937123980e65d3efedc903bd6 where the cross-compiler would
    fail to build with:
    
      checking dynamic linker characteristics... configure: error: Link tests 
are not allowed after GCC_NO_EXECUTABLES.
      make[1]: *** [Makefile:13129: configure-target-libobjc] Error 1
    
    * gnu/packages/cross-base.scm (cross-gcc-arguments): Clear
    ‘--enable-languages’ flag unconditionally.
    
    Change-Id: I2bb38bac42e0791cad617893343c0d3dfc963450
---
 gnu/packages/cross-base.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index 3a73f4f638..0f5a66eac8 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -220,8 +220,7 @@ base compiler and using LIBC (which may be either a libc 
package or #f.)"
 
                    (remove
                      (lambda (flag)
-                       (or (and #$libc
-                                (string-prefix? "--enable-languages" flag))
+                       (or (string-prefix? "--enable-languages" flag)
                            (and #$libc
                                 #$(target-avr? target)
                                 (string-prefix? 
"--with-native-system-header-dir"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]