summaryrefslogtreecommitdiff
path: root/build/make/configure.sh
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2018-06-27 21:12:39 +0200
committerLuca Barbato <lu_zero@gentoo.org>2018-06-27 21:12:39 +0200
commit201acea7fe02e9278fd95aa5c23886242c41b3c6 (patch)
tree75cb677385f4dc9900f03a59b61fc6816b5e5f5c /build/make/configure.sh
parent3c20815a40557e5fce62d49bd4109eb1c8900778 (diff)
downloadlibvpx-201acea7fe02e9278fd95aa5c23886242c41b3c6.tar
libvpx-201acea7fe02e9278fd95aa5c23886242c41b3c6.tar.gz
libvpx-201acea7fe02e9278fd95aa5c23886242c41b3c6.tar.bz2
libvpx-201acea7fe02e9278fd95aa5c23886242c41b3c6.zip
Support Power8/Power9 tuning
Change-Id: I50b32f37f77224ebf0470545152c83ae2ed3cfa3
Diffstat (limited to 'build/make/configure.sh')
-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