[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/17: gnu: gcc: Fix building cross compiler for the Hurd.
From: |
guix-commits |
Subject: |
01/17: gnu: gcc: Fix building cross compiler for the Hurd. |
Date: |
Tue, 16 Jan 2024 02:42:23 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 0e1bf5714261de8f25baabca3b826284102b6c40
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Fri Jan 12 13:24:14 2024 +0100
gnu: gcc: Fix building cross compiler for the Hurd.
This is a follow-up to commit
d21d596f72ad491937123980e65d3efedc903bd6
gnu: gcc: Support objc, objc++ by default.
* gnu/packages/gcc.scm (gcc-4.7): Only build c,c++ when building for the
Hurd.
Change-Id: I21ce5dd30d7ab253e6a46173eb674b55d6c01505
---
gnu/packages/gcc.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index ecd88931eb..111b096185 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -15,6 +15,7 @@
;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -132,9 +133,11 @@ where the OS part is overloaded to denote a specific
ABI---into GCC
;; contents of (maybe-target-tools).
(list 'quasiquote
(append
- '("--enable-plugin"
- "--enable-languages=c,c++,objc,obj-c++"
- "--disable-multilib"
+ '("--enable-plugin")
+ (if (target-hurd?)
+ '("--enable-languages=c,c++")
+ '("--enable-languages=c,c++,objc,obj-c++"))
+ '("--disable-multilib"
"--with-system-zlib"
;; No pre-compiled libstdc++ headers, to save space.
- branch hurd-team created (now 01f29ae055), guix-commits, 2024/01/16
- 02/17: gnu: glibc/hurd: Update to 2.38., guix-commits, 2024/01/16
- 04/17: gnu: hurd-headers: Update to v0.9.git20231217., guix-commits, 2024/01/16
- 12/17: DRAFT daemon: Support chroot builds on GNU/Hurd., guix-commits, 2024/01/16
- 06/17: hurd: Support system init in /libexec/runsystem., guix-commits, 2024/01/16
- 11/17: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2024/01/16
- 14/17: HACK compile-as-derivation: build #:system "i586-gnu"., guix-commits, 2024/01/16
- 15/17: Revert "HACK compile-as-derivation: build #:system "i586-gnu".", guix-commits, 2024/01/16
- 16/17: Revert "gnu: binutils: Use gexps.", guix-commits, 2024/01/16
- 13/17: Revert "DRAFT daemon: Support chroot builds on GNU/Hurd.", guix-commits, 2024/01/16
- 01/17: gnu: gcc: Fix building cross compiler for the Hurd.,
guix-commits <=
- 03/17: gnu: gnumach-headers: Update to v1.8+git20230410., guix-commits, 2024/01/16
- 17/17: Revert "gnu: binutils: Update to 2.41.", guix-commits, 2024/01/16
- 09/17: DRAFT hurd: Support second boot., guix-commits, 2024/01/16
- 07/17: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2024/01/16
- 10/17: DRAFT hurd-boot: Support second boot., guix-commits, 2024/01/16
- 05/17: gnu: git-minimal: Fix cross build., guix-commits, 2024/01/16
- 08/17: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2024/01/16