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>
Fri, 25 Jan 2019 13:59:28 +0000 (14:59 +0100)
Gbp-Pq: Name 0008-Native-backtraces-don-t-work-on-powerpc-and-sparc.patch

testsuite/tests/backtrace/Makefile

index 5df19fc6951d745527ce2ff11355e0d5f3a383ff..9ad93c30a39e8680f6d282e3d7d864de38927180 100644 (file)
@@ -29,7 +29,10 @@ LOCATIONFILTER=grep -oE \
 
 default:
        @$(MAKE) byte
-       @if $(BYTECODE_ONLY); then $(MAKE) skip ; else $(MAKE) native; fi
+       @case `dpkg-architecture -qDEB_BUILD_ARCH` in \
+         sparc|powerpc*) : ;; \
+         *) if $(BYTECODE_ONLY); then $(MAKE) skip ; else $(MAKE) native; fi ;; \
+       esac
 
 .PHONY: byte
 byte: