gnu: gdb: Fix build of target-specific versions.

Since recently there has been a change to gdb package that introduced
configure-flags, three gdb packages broke, since they assumed there are no
configure-flags in gdb.  That means they produced the same gdb as gdb-14.

This patche fixes that by ensuring configure-flags are appended to original package.

* gnu/packages/embedded.scm (make-gdb-arm-none-eabi)[arguments]: Append
configure-flags to original flags.
* gnu/packages/gdb.scm (gdb-multiarch)[arguments]: Likewise.
* gnu/packages/gdb.scm (avr-gdb)[arguments]: Likewise.

Signed-off-by: Janneke Nieuwenhuizen <janneke@gnu.org>

Change-Id: Ia8748b86dc72197bd4eef307d091b6af44fc5611
This commit is contained in:
Rutherther via Guix-patches via 2024-12-11 20:35:45 +01:00 committed by Janneke Nieuwenhuizen
parent 7aca60c6c4
commit 98908e0777
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273
2 changed files with 24 additions and 22 deletions

View file

@ -741,12 +741,14 @@ languages are C and C++.")
(inherit gdb)
(name "gdb-arm-none-eabi")
(arguments
`(#:configure-flags '("--target=arm-none-eabi"
"--enable-multilib"
"--enable-interwork"
"--enable-languages=c,c++"
"--disable-nls")
,@(package-arguments gdb))))))
(substitute-keyword-arguments (package-arguments gdb)
((#:configure-flags flags '())
#~(cons* "--target=arm-none-eabi"
"--enable-multilib"
"--enable-interwork"
"--enable-languages=c,c++"
"--disable-nls"
#$flags)))))))
(define-public libjaylink
(package