strace: check machine personalities for all non-x86 architectures

This allows strace to be built for ppc64le as well.
This commit is contained in:
Jona Stubbe 2018-08-22 19:29:04 +02:00
parent d944690b7b
commit ee152d5687

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = stdenv.lib.optional libunwind.supportsHost libunwind; # support -k
configureFlags = stdenv.lib.optional (stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isRiscV) "--enable-mpers=check";
configureFlags = stdenv.lib.optional (!stdenv.hostPlatform.isx86) "--enable-mpers=check";
# fails 1 out of 523 tests with
# "strace-k.test: failed test: ../../strace -e getpid -k ../stack-fcall output mismatch"