Github messages for voidlinux
 help / color / mirror / Atom feed
From: Piraty <Piraty@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] gdb: add multiarch build option
Date: Sun, 25 Apr 2021 21:03:52 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30497@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 571 bytes --]

There is a new pull request by Piraty against master on the void-packages repository

https://github.com/Piraty/void-packages gdb-multiarch
https://github.com/void-linux/void-packages/pull/30497

gdb: add multiarch build option
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR



A patch file from https://github.com/void-linux/void-packages/pull/30497.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gdb-multiarch-30497.patch --]
[-- Type: text/x-diff, Size: 1769 bytes --]

From 1075fbd34597adde110492a6a8f01003dbf17b9d Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Mon, 12 Apr 2021 22:12:45 +0200
Subject: [PATCH] gdb: add multiarch build option

---
 srcpkgs/gdb/template | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template
index 64787a9ade34..7fc3d0288efe 100644
--- a/srcpkgs/gdb/template
+++ b/srcpkgs/gdb/template
@@ -1,11 +1,12 @@
 # Template file for 'gdb'
 pkgname=gdb
 version=10.1
-revision=3
+revision=4
 build_style=gnu-configure
 pycompile_dirs="/usr/share/gdb/python"
 configure_args="--disable-werror --disable-nls --with-system-readline
- --with-system-gdbinit=/etc/gdb/gdbinit --with-system-zlib $(vopt_enable gdbserver)
+ --with-system-gdbinit=/etc/gdb/gdbinit --with-system-zlib
+ $(vopt_enable gdbserver) $(vopt_if multiarch --enable-targets=all)
  $(vopt_if static 'CFLAGS=-static CXXFLAGS=-static LDFLAGS=-static')
  $(vopt_if python --with-python=/usr/bin/python3)
  $(vopt_with debuginfod)"
@@ -30,13 +31,13 @@ fi
 CFLAGS+=" -fcommon"
 CXXFLAGS+=" -fcommon"
 # Package build options
-build_options="gdbserver static python debuginfod"
-desc_option_gdbserver="Enable support for building GDB server"
+build_options="gdbserver multiarch static python debuginfod"
 desc_option_debuginfod="Enable support for libdebuginfod"
-# Enable gdbserver if !static.
+desc_option_multiarch="Enable support for all architectures"
+desc_option_gdbserver="Enable support for building GDB server"
 build_options_default="gdbserver python debuginfod"
-# Both options cannot be enabled at the same time
 vopt_conflict gdbserver static
+vopt_conflict debuginfod static
 
 post_extract() {
 	vsed -i 's,sgidefs.h,asm/sgidefs.h,' gdb/mips-linux-nat.c

             reply	other threads:[~2021-04-25 19:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-25 19:03 Piraty [this message]
2021-04-25 19:05 ` [PR PATCH] [Updated] " Piraty
2021-04-26 16:58 ` ericonr
2021-04-26 18:41 ` Piraty
2021-04-26 18:54 ` ericonr
2021-04-26 19:50 ` Piraty
2021-04-27 19:39 ` [PR PATCH] [Merged]: " Piraty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30497@inbox.vuxu.org \
    --to=piraty@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).