summaryrefslogtreecommitdiffstats
path: root/debian/patches/ada-nobiarch-check.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:58:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:58:36 +0000
commit1d3b23e6bdbf53eb74161c37d8c355c2ec858a19 (patch)
treee279a67ec4f447e99b0754e7964666f7b48b5c05 /debian/patches/ada-nobiarch-check.diff
parentAdding upstream version 14-20240201. (diff)
downloadgcc-14-1d3b23e6bdbf53eb74161c37d8c355c2ec858a19.tar.xz
gcc-14-1d3b23e6bdbf53eb74161c37d8c355c2ec858a19.zip
Adding debian version 14-20240201-3.debian/14-20240201-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/ada-nobiarch-check.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/ada-nobiarch-check.diff b/debian/patches/ada-nobiarch-check.diff
new file mode 100644
index 0000000..35190a7
--- /dev/null
+++ b/debian/patches/ada-nobiarch-check.diff
@@ -0,0 +1,21 @@
+Description: For biarch builds, disable the gnat testsuite for the non-default
+ architecture (no biarch support in gnat yet).
+Author: Matthias Klose <doko@debian.org>
+
+Index: b/src/gcc/Makefile.in
+===================================================================
+--- a/src/gcc/Makefile.in
++++ b/src/gcc/Makefile.in
+@@ -4510,7 +4510,11 @@
+ if [ -f $${rootme}/../expect/expect ] ; then \
+ TCL_LIBRARY=`cd .. ; cd $${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
+ export TCL_LIBRARY ; fi ; \
+- $(RUNTEST) --tool $* $(RUNTESTFLAGS))
++ if [ "$*" = gnat ]; then \
++ runtestflags="`echo '$(RUNTESTFLAGS)' | sed -r 's/,-m(32|64|x32)//g;s/,-mabi=(n32|64)//g'`"; \
++ case "$$runtestflags" in *\\{\\}) runtestflags=; esac; \
++ fi; \
++ $(RUNTEST) --tool $* $$runtestflags)
+
+ $(patsubst %,%-subtargets,$(filter-out $(lang_checks_parallelized),$(lang_checks))): check-%-subtargets:
+ @echo check-$*