[Crash-utility] [PATCH 2/4] gdb:disable building gdbserver in crash-utility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The gdbserver is unused in crash-utility, but it
is always built by default during crash building.
Let's disable gdbserver building to save some time.

There are several advantages, for example:
[1] speed up crash building and save time
[2] avoid some compilation issues
[3] the following cross compile and ci will benefit
    from this.

In addition, this is harmless for the old compilation
methods.

Signed-off-by: Lianbo Jiang <lijiang@xxxxxxxxxx>
---
 gdb-10.2.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gdb-10.2.patch b/gdb-10.2.patch
index d22f2d6d75bc..5b8e567503fb 100644
--- a/gdb-10.2.patch
+++ b/gdb-10.2.patch
@@ -16321,3 +16321,15 @@ exit 0
  rl_sigwinch_handler (int sig)
  {
    SigHandler *oh;
+--- gdb-10.2/configure.orig
++++ gdb-10.2/configure
+@@ -3488,6 +3488,9 @@ case "${target}" in
+     ;;
+ esac
+ 
++#disable gdbserver build in crash-utility
++enable_gdbserver=no
++
+ # Only allow gdbserver on some systems.
+ if test -d ${srcdir}/gdbserver; then
+     if test x$enable_gdbserver = x; then
-- 
2.47.1
--
Crash-utility mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxxxxxx
https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
Contribution Guidelines: https://github.com/crash-utility/crash/wiki




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux