summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-01-09 17:32:09 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-10 04:50:17 +0100
commit6108485cf70f04dbf4708bd84ce749da871fa3f1 (patch)
treeb766a1a2e9b17dd4bd6c724909d47672f5401b54 /configure
parent7824dc5150c0ea44ffa7cd4d57803f9a9697e7d7 (diff)
configure: enable vsx together with altivec for ppc64el
The altivec optimizations on little endian ppc64 don't work without vsx. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6de4bcc45d..94f943292d 100755
--- a/configure
+++ b/configure
@@ -4432,7 +4432,7 @@ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
EOF
od -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
-if [ "$cpu" = "power7" ] || [ "$cpu" = "power8" ] ;then
+if [ "$cpu" = "power7" ] || [ "$cpu" = "power8" ] || enabled ppc64; then
if ! enabled bigendian && enabled altivec ;then
enable vsx
fi