mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
gnu: gdb: Build with a 32-bit MIG when targeting i586-pc-gnu.
Fixes a bug whereby GDB cross-compiled for i586-pc-gnu would be broken: (gdb) r Starting program: /gnu/store/… Handling event, msgid = 72: (ipc/mig) server type check failure * gnu/packages/gdb.scm (gdb-9.1)[native-inputs]: Use MIG/32-BIT instead of MIG.
This commit is contained in:
parent
6530f5367c
commit
02036cdda4
1 changed files with 7 additions and 1 deletions
|
@ -116,7 +116,13 @@ (define-public gdb-9.1
|
|||
`(("texinfo" ,texinfo)
|
||||
("dejagnu" ,dejagnu)
|
||||
("pkg-config" ,pkg-config)
|
||||
,@(if (hurd-target?) `(("mig" ,mig)) '())))
|
||||
,@(if (hurd-target?)
|
||||
;; 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
|
||||
mig)))
|
||||
'())))
|
||||
(home-page "https://www.gnu.org/software/gdb/")
|
||||
(synopsis "The GNU debugger")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue