[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/15: gnu: gcc: Fix building cross compiler for the Hurd.
From: |
guix-commits |
Subject: |
01/15: gnu: gcc: Fix building cross compiler for the Hurd. |
Date: |
Sat, 13 Jan 2024 07:15:37 -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 1f2f78ace8), guix-commits, 2024/01/13
- 01/15: gnu: gcc: Fix building cross compiler for the Hurd.,
guix-commits <=
- 02/15: gnu: gnumach-headers: Update to v1.8+git20230410., guix-commits, 2024/01/13
- 04/15: hurd: Support system init in /libexec/runsystem., guix-commits, 2024/01/13
- 05/15: hurd-boot: Support system init: Create essential device nodes., guix-commits, 2024/01/13
- 07/15: DRAFT hurd: Support second boot., guix-commits, 2024/01/13
- 03/15: gnu: hurd-headers: Update to v0.9.git20231217., guix-commits, 2024/01/13
- 08/15: DRAFT hurd-boot: Support second boot., guix-commits, 2024/01/13
- 06/15: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2024/01/13
- 13/15: Revert "HACK compile-as-derivation: build #:system "i586-gnu".", guix-commits, 2024/01/13
- 12/15: HACK compile-as-derivation: build #:system "i586-gnu"., guix-commits, 2024/01/13
- 15/15: Revert "gnu: binutils: Update to 2.41.", guix-commits, 2024/01/13