Use long endian options for ppc64
commitced5cfffeea22ef9003c95a83ce7c31e428702fb
authorMiroslav Rezanina <mrezanin@redhat.com>
Sat, 5 Mar 2022 06:16:46 +0000 (5 07:16 +0100)
committerCédric Le Goater <clg@kaod.org>
Sat, 5 Mar 2022 06:16:46 +0000 (5 07:16 +0100)
tree2f20a3faf4a5b9cb61e998c760d741eb66c97391
parent3d1fbc59665ff8a5d74b0fd30583044fe99e1117
Use long endian options for ppc64

GCC options pairs -mlittle/-mlittle-endian and -mbig/-mbig-endian are
equivalent on ppc64 architecture. However, Clang supports only long
version of the options.

Use longer form in configure to properly support both GCC and Clang
compiler. In addition, fix this issue in tcg test configure.

Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <20220131091714.4825-1-mrezanin@redhat.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
configure
tests/tcg/configure.sh