Native backtraces don't work on powerpc and sparc
authorStephane Glondu <steph@glondu.net>
Wed, 13 Nov 2013 13:28:16 +0000 (14:28 +0100)
committerStéphane Glondu <glondu@debian.org>
Thu, 30 Oct 2014 08:28:06 +0000 (08:28 +0000)
Gbp-Pq: Name 0014-Native-backtraces-don-t-work-on-powerpc-and-sparc.patch

testsuite/tests/backtrace/Makefile

index 83f94721fb21e3320de547005bb4919575eeebb7..3695ff6a0ba358a14427293cdd31900b9e7bd0b3 100644 (file)
@@ -18,7 +18,10 @@ OTHERFILES=backtrace2.ml raw_backtrace.ml
 
 default:
        $(MAKE) byte
-       @if $(BYTECODE_ONLY); then : ; else $(MAKE) native; fi
+       @case `dpkg-architecture -qDEB_BUILD_ARCH` in \
+         sparc|powerpc*) : ;; \
+         *) if $(BYTECODE_ONLY) ; then : ; else $(MAKE) native; fi ;; \
+       esac
 
 .PHONY: byte
 byte: