aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gdb
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2020-10-24 23:35:13 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2020-11-01 20:54:37 +0100
commit24b51a917372927109d29932ec2ca5ed4497e41f (patch)
tree2368306b650e643d1118862be3524ae287d4009c /toolchain/gdb
parent35ac91f19dedf7ddba2a82f1c96b565ac15fbaae (diff)
downloadupstream-24b51a917372927109d29932ec2ca5ed4497e41f.tar.gz
upstream-24b51a917372927109d29932ec2ca5ed4497e41f.tar.bz2
upstream-24b51a917372927109d29932ec2ca5ed4497e41f.zip
toolchain: gdb: Disable tests
Instead of patching the tests out, just remove them with a configure option. No files were generates in the testsuite and unit-test directories. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'toolchain/gdb')
-rw-r--r--toolchain/gdb/Makefile2
-rw-r--r--toolchain/gdb/patches/110-no_testsuite.patch21
2 files changed, 2 insertions, 21 deletions
diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index 0b4af1164b..3bcc9d1238 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -36,6 +36,8 @@ HOST_CONFIGURE_ARGS = \
--enable-threads \
--with-expat \
--without-python \
+ --disable-unit-tests \
+ --disable-ubsan \
--disable-binutils \
--disable-ld \
--disable-gas \
diff --git a/toolchain/gdb/patches/110-no_testsuite.patch b/toolchain/gdb/patches/110-no_testsuite.patch
deleted file mode 100644
index 90a2574caf..0000000000
--- a/toolchain/gdb/patches/110-no_testsuite.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/gdb/configure
-+++ b/gdb/configure
-@@ -952,8 +952,7 @@ DEBUGINFOD_LIBS
- YACC
- YFLAGS
- XMKMF'
--ac_subdirs_all='testsuite
--gdbtk'
-+ac_subdirs_all='gdbtk'
-
- # Initialize some variables set by options.
- ac_init_help=
-@@ -6668,7 +6667,7 @@ $as_echo "$with_auto_load_safe_path" >&6
-
-
-
--subdirs="$subdirs testsuite"
-+subdirs="$subdirs"
-
-
- # Check whether to support alternative target configurations