summaryrefslogtreecommitdiffstats
path: root/debian/patches/gm2-bootstrap-compare.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/gm2-bootstrap-compare.diff')
-rw-r--r--debian/patches/gm2-bootstrap-compare.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/gm2-bootstrap-compare.diff b/debian/patches/gm2-bootstrap-compare.diff
new file mode 100644
index 0000000..5edd82d
--- /dev/null
+++ b/debian/patches/gm2-bootstrap-compare.diff
@@ -0,0 +1,12 @@
+# DP: ignore gm2version.o stage diff on some archtectures (m68k, riscv64)
+
+--- a/src/configure.ac
++++ b/src/configure.ac
+@@ -3678,6 +3678,7 @@ AC_SUBST(stage2_werror_flag)
+ compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
+ compare_exclusions="$compare_exclusions | gcc/m2/gm2-compiler-boot/M2Version*"
+ compare_exclusions="$compare_exclusions | gcc/m2/gm2-compiler-boot/SYSTEM*"
++compare_exclusions="$compare_exclusions | *m2/gm2version\$(objext)"
+ case "$target" in
+ hppa*64*-*-hpux*) ;;
+ hppa*-*-hpux*) compare_exclusions="$compare_exclusions | */libgcc/lib2funcs* | gcc/function-tests.o" ;;