[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: gdb: Use 'cross-mig' when targeting GNU/Hurd.
From: |
guix-commits |
Subject: |
02/07: gnu: gdb: Use 'cross-mig' when targeting GNU/Hurd. |
Date: |
Tue, 18 Apr 2023 11:53:07 -0400 (EDT) |
civodul pushed a commit to branch core-updates
in repository guix.
commit 2842b383ddaa3d6d90e9fafe3dbb1a8a618fc8f9
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Apr 17 17:12:36 2023 +0200
gnu: gdb: Use 'cross-mig' when targeting GNU/Hurd.
This is a followup to 2756d662aa27cf55f3224e4a0a9e08c1be2cc551.
* gnu/packages/gdb.scm (gdb-11)[native-inputs]: Use 'cross-mig' instead
of 'mig/32-bit'.
---
gnu/packages/gdb.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
index fd0bc80e44..49cbed482b 100644
--- a/gnu/packages/gdb.scm
+++ b/gnu/packages/gdb.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014, 2015, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013, 2014, 2015, 2019, 2020, 2023 Ludovic Courtès
<ludo@gnu.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015, 2016, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
@@ -25,6 +25,7 @@
(define-module (gnu packages gdb)
#:use-module (gnu packages)
#:use-module (gnu packages bash)
+ #:use-module (gnu packages cross-base)
#:use-module (gnu packages hurd)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages readline)
@@ -130,7 +131,7 @@
;; When cross-compiling from x86_64-linux, make sure to use a
;; 32-bit MiG because we assume target i586-pc-gnu.
`(("mig" ,(if (%current-target-system)
- mig/32-bit
+ (cross-mig (%current-target-system))
mig)))
'())))
;; TODO: Add support for the GDB_DEBUG_FILE_DIRECTORY environment
- branch core-updates updated (39ec7b86c0 -> dd9b1a1c25), guix-commits, 2023/04/18
- 07/07: gnu: gdb: Change default to 12.x., guix-commits, 2023/04/18
- 02/07: gnu: gdb: Use 'cross-mig' when targeting GNU/Hurd.,
guix-commits <=
- 04/07: gnu: gdb: Remove Hurd patch., guix-commits, 2023/04/18
- 05/07: ci: Add 'gdb-minimal' to the "core" package set., guix-commits, 2023/04/18
- 01/07: gnu: gcc-7, gcc-10, gcc-11: Hide packages., guix-commits, 2023/04/18
- 03/07: gnu: gdb-minimal: Update to 12.x., guix-commits, 2023/04/18
- 06/07: gnu: gdb: Distinguish between the "pinned" and the "default" version., guix-commits, 2023/04/18