summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2018-06-27 22:27:11 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-06-27 22:27:11 +0000
commit0c46742f56d06bf284c781bd754eff3b1d97c3c8 (patch)
treeade69111d3d573ccd5b1e8a98713c270abc50f3e
parent31a7f65cd6d2fae6e3413defe62da59c52fdcce4 (diff)
parent201acea7fe02e9278fd95aa5c23886242c41b3c6 (diff)
downloadlibvpx-0c46742f56d06bf284c781bd754eff3b1d97c3c8.tar
libvpx-0c46742f56d06bf284c781bd754eff3b1d97c3c8.tar.gz
libvpx-0c46742f56d06bf284c781bd754eff3b1d97c3c8.tar.bz2
libvpx-0c46742f56d06bf284c781bd754eff3b1d97c3c8.zip
Merge "Support Power8/Power9 tuning"
-rw-r--r--build/make/configure.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index 746b32583..fdda759be 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1247,6 +1247,13 @@ EOF
link_with_cc=gcc
setup_gnu_toolchain
check_gcc_machine_option "vsx"
+ if [ -n "${tune_cpu}" ]; then
+ case ${tune_cpu} in
+ power?)
+ tune_cflags="-mcpu="
+ ;;
+ esac
+ fi
;;
x86*)
case ${tgt_os} in