summary refs log tree commit diff
path: root/gnu/packages/gdb.scm
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauermann@kolabnow.com>2021-09-30 18:27:54 -0300
committerMathieu Othacehe <othacehe@gnu.org>2021-10-01 09:42:54 +0000
commited756b4709b285ffea9225181786d8717464cd73 (patch)
tree795ad9e70f93ca87e3f38c20b70869a1c5e13a1a /gnu/packages/gdb.scm
parenta76232340a74c3d19d3062b2eab4244eb11b2b7b (diff)
downloadguix-ed756b4709b285ffea9225181786d8717464cd73.tar.gz
gnu: gdb-9.2: Fix build with GCC 10 on powerpc64le-linux.
* gnu/packages/patches/gdb-9.2-sim-ppc-fno-common.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gdb.scm (gdb-9.2)[source]: Use it.
Diffstat (limited to 'gnu/packages/gdb.scm')
-rw-r--r--gnu/packages/gdb.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
index 24b7c00dbd..543beee8da 100644
--- a/gnu/packages/gdb.scm
+++ b/gnu/packages/gdb.scm
@@ -145,6 +145,7 @@ written in C, C++, Ada, Objective-C, Pascal and more.")
               (method url-fetch)
               (uri (string-append "mirror://gnu/gdb/gdb-"
                                   version ".tar.xz"))
+              (patches (search-patches "gdb-9.2-sim-ppc-fno-common.patch"))
               (sha256
                (base32
                 "0mf5fn8v937qwnal4ykn3ji1y2sxk0fa1yfqi679hxmpg6pdf31n"))))